2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
|
|
|
<para>
|
2001-04-09 15:42:35 +01:00
|
|
|
<userinput>make -e:</userinput> The -e parameter tells make that
|
2001-01-24 00:31:17 +00:00
|
|
|
environment variables take precedence over variables defined in the
|
|
|
|
Makefile file(s). This is needed in order to successfully link binutils
|
|
|
|
statically.
|
|
|
|
</para>
|
|
|
|
|
2001-06-30 04:19:22 +01:00
|
|
|
<para>
|
|
|
|
<userinput>--disable-nls:</userinput> This option disabled
|
|
|
|
internationalization (also known as i18n). We don't need this for our
|
|
|
|
static programs and nls often causes problems when you're linking
|
|
|
|
statically.
|
|
|
|
</para>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<para>
|
|
|
|
<userinput>LDFLAGS=-all-static:</userinput> Setting the variable LDFLAGS
|
|
|
|
to the value -all-static causes binutils to be linked statically.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2001-03-25 09:46:07 +01:00
|
|
|
<userinput>tooldir=$LFS/usr:</userinput> Normally, the tooldir (the
|
2001-01-24 00:31:17 +00:00
|
|
|
directory where the executables from binutils end up in) is set to
|
|
|
|
$(exec_prefix)/$(target_alias) which expands into, for example,
|
2001-03-25 09:46:07 +01:00
|
|
|
/usr/i686-pc-linux-gnu. Since we only build for our own system, we don't
|
2001-03-18 19:30:50 +00:00
|
|
|
need this target specific directory in $LFS/usr. That setup would be used
|
2001-03-25 09:46:07 +01:00
|
|
|
if the system was used to cross-compile (for example
|
2001-03-18 19:30:50 +00:00
|
|
|
compiling a package on the Intel machine that generates code that can be
|
2001-01-24 00:31:17 +00:00
|
|
|
executed on Apple PowerPC machines).
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|