diff options
Diffstat (limited to 'chapter05/binutils-pass1.xml')
-rw-r--r-- | chapter05/binutils-pass1.xml | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 9f35ae722..e2eafc63e 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -54,8 +54,7 @@ command like this: <userinput>time { ./configure ... && ... <para>Now prepare Binutils for compilation:</para> -<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \ - --disable-nls</userinput></screen> +<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen> <para>The meaning of the configure options:</para> @@ -68,36 +67,14 @@ programs in the <filename class="directory">/tools</filename> directory.</para>< <varlistentry> <term><parameter>--disable-nls</parameter></term> -<listitem><para>This disables internationalization. This is not needed -for the static programs, and NLS can cause problems when linking -statically.</para></listitem> +<listitem><para>This disables internationalization. This is not needed for the +temporary tools.</para></listitem> </varlistentry> </variablelist> <para>Continue with compiling the package:</para> -<screen><userinput>make configure-host -make LDFLAGS="-all-static"</userinput></screen> - -<para>The meaning of the make parameters:</para> - -<variablelist> -<varlistentry> -<term><parameter>configure-host</parameter></term> -<listitem><para>This forces all subdirectories to be configured -immediately. A statically-linked build will fail without it. Use this -option to work around the problem.</para></listitem> -</varlistentry> - -<varlistentry> -<term><parameter>LDFLAGS="-all-static"</parameter></term> -<listitem><para>This tells the linker that all Binutils programs -should be linked statically. However, strictly speaking, -<parameter>"-all-static"</parameter> is passed to the -<command>libtool</command> program, which then passes -<parameter>"-static"</parameter> to the linker.</para></listitem> -</varlistentry> -</variablelist> +<screen><userinput>make</userinput></screen> <para>Compilation is now complete. Ordinarily we would now run the test suite, but at this early stage the test suite framework (Tcl, @@ -113,7 +90,7 @@ first pass will soon be replaced by those from the second.</para> later on:</para> <screen><userinput>make -C ld clean -make -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput></screen> +make -C ld LIB_PATH=/tools/lib</userinput></screen> <para>The meaning of the make parameters:</para> @@ -126,8 +103,7 @@ subdirectory.</para></listitem> </varlistentry> <varlistentry> -<term><parameter>-C ld LDFLAGS="-all-static" -LIB_PATH=/tools/lib</parameter></term> +<term><parameter>-C ld LIB_PATH=/tools/lib</parameter></term> <listitem><para>This option rebuilds everything in the <filename class="directory">ld</filename> subdirectory. Specifying the <envar>LIB_PATH</envar> Makefile variable on the command |