mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 14:07:39 +00:00
986ac8fdc7
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1013 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
23 lines
954 B
XML
23 lines
954 B
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<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>
|
|
|
|
<para><userinput>LDFLAGS=-all-static:</userinput> Setting the variable LDFLAGS
|
|
to the value -all-static causes binutils to be linked statically.</para>
|
|
|
|
<para><userinput>tooldir=$LFS/usr:</userinput> Normally, the tooldir (the
|
|
directory where the executables from binutils end up in) is set to
|
|
$(exec_prefix)/$(target_alias) which expands into, for example,
|
|
/usr/i686-pc-linux-gnu. Since we only build for our own system, we don't
|
|
need this target specific directory in $LFS/usr. That setup would be used
|
|
if the system was used to cross-compile (for example
|
|
compiling a package on the Intel machine that generates code that can be
|
|
executed on Apple PowerPC machines).</para>
|
|
|
|
</sect2>
|
|
|