aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-03-13 15:49:41 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-03-13 15:49:41 +0000
commit516b668fa04586bca9bbca6ee131f9f8299d6fc4 (patch)
tree2b9fbef5a8780b3c166202c52f5e2a484d35fe44 /chapter05/gcc-pass1.xml
parente2c85b1176f0059b7c877922fe22bb8b677d0982 (diff)
* Fix bug 1061 by dynamically linking the pass1 toolchain
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4741 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml21
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