diff options
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r-- | chapter05/gcc-pass1.xml | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 503438558..f2bec515b 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -63,16 +63,12 @@ system.</para> <varlistentry> <term><parameter>--enable-shared</parameter></term> -<listitem><para>This switch may seem counter-intuitive at first. -However, this switch allows the building of +<listitem><para>This switch allows the building of <filename class="libraryfile">libgcc_s.so.1</filename> and -<filename class="libraryfile">libgcc_eh.a</filename>, and having -<filename class="libraryfile">libgcc_eh.a</filename> available ensures that the configure -script for Glibc (the next package we compile) produces the proper -results. Note that the GCC binaries will still be linked statically -because this is controlled by the <parameter>-static</parameter> value of -the <envar>BOOT_LDFLAGS</envar> variable in the next -step.</para></listitem> +<filename class="libraryfile">libgcc_eh.a</filename>. Having +<filename class="libraryfile">libgcc_eh.a</filename> available ensures that the +configure script for Glibc (the next package we compile) produces the proper +results.</para></listitem> </varlistentry> <varlistentry> @@ -86,17 +82,12 @@ tarball.</para></listitem> <para>Continue with compiling the package:</para> -<screen><userinput>make BOOT_LDFLAGS="-static" bootstrap</userinput></screen> +<screen><userinput>make bootstrap</userinput></screen> <para>The meaning of the make parameters:</para> <variablelist> <varlistentry> -<term><parameter>BOOT_LDFLAGS="-static"</parameter></term> -<listitem><para>This tells GCC to link its programs statically.</para></listitem> -</varlistentry> - -<varlistentry> <term><parameter>bootstrap</parameter></term> <listitem><para>This target does not just compile GCC, but compiles it several times. It uses the programs compiled in a first round to |