Hardware Reference
In-Depth Information
Figure 2-8.
C-library configuration submenu
That completes the configuration portion. Go to the main screen, exit, and save the
configuration file when prompted.
Disable CT_WANTS_STATIC_LINK
On some systems,
crosstool-ng
sets the
CT_WANTS_STATIC_LINK
value to
Y
,
even though you didn't select that. This will cause it to fail early in the build
process, but you can use
sed
to ensure it is disabled. Run this command:
$ sed -i 's|CT_WANTS_STATIC_LINK=y|# CT_WANTS_STATIC_LINK is not set|
g' .config
This command might look complicated, but all it is doing is disabling the
CT_WANTS_STATIC_LINK
feature in the
crosstool-ng
configuration file by
searching for the string that exactly matches the
CT_WANTS_STATIC_LINK