| 123456789101112131415161718192021222324252627 | <sect2><title>Command explanations</title><para><userinput>mkdir ../binutils-build:</userinput> The installationinstructions for Binutils recommend creating a seperate build directoryinstead of compiling the package inside the source tree. So, we create abinutils-buildd directory and work from there.</para><para><userinput>--disable-nls:</userinput> This option disabledinternationalization (also known as i18n). We don't need this for ourstatic programs and nls often causes problems when you're linkingstatically.</para><para><userinput>LDFLAGS=-all-static:</userinput> Setting the variable LDFLAGSto the value -all-static causes binutils to be linked statically.</para><para><userinput>tooldir=$LFS/usr:</userinput> Normally, the tooldir (thedirectory 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'tneed this target specific directory in $LFS/usr. That setup would be usedif the system was used to cross-compile (for example compiling a package on the Intel machine that generates code that can beexecuted on Apple PowerPC machines).</para></sect2>
 |