diff options
Diffstat (limited to 'chapter05/binutils-exp.xml')
-rw-r--r-- | chapter05/binutils-exp.xml | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/chapter05/binutils-exp.xml b/chapter05/binutils-exp.xml index c0ba51bf4..4ac33410a 100644 --- a/chapter05/binutils-exp.xml +++ b/chapter05/binutils-exp.xml @@ -1,35 +1,27 @@ <sect2> <title>Command explanations</title> -<para> -<userinput>make -e:</userinput> The -e parameter tells make that +<para><userinput>make -e:</userinput> The -e parameter tells make that environment variables take precedence over variables defined in the Makefile file(s). This is needed in order to successfully link binutils -statically. -</para> +statically.</para> -<para> -<userinput>--disable-nls:</userinput> This option disabled +<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> +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>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 +<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> +executed on Apple PowerPC machines).</para> </sect2> |