aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-inst.xml
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2002-08-30 23:08:49 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2002-08-30 23:08:49 +0000
commit5ebcbccb4e00c2c5a16a1e9167c74926737a81af (patch)
tree0229b52d303b0b322e65d104f3b026c3d38c9eaa /chapter06/gcc-inst.xml
parent83e39026d0d6246fd6c7a532a65f9835a64ca571 (diff)
rm /bin/bash after makedev, re-added HAVE_GAS_HIDDEN, removed --enable-__cxa-atexit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2075 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r--chapter06/gcc-inst.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 60a486886..a3a024a4f 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -1,6 +1,10 @@
<sect2>
<title>Installation of GCC</title>
+<para>This package requires its patch to be applied before you can
+install it. Make sure it's unpacked before running the installation
+commands.</para>
+
<para>This package is known to behave badly when you have changed its
default optimization flags (including the -march and -mcpu options). GCC is
best left alone. Therefore, if you have defined any environment variables
@@ -23,7 +27,7 @@ mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib --enable-_cxa-atexit &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib --enable-__cxa_atexit &amp;&amp;
make bootstrap &amp;&amp;
make install &amp;&amp;
ln -s ../usr/bin/cpp /lib &amp;&amp;