aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-09-05 14:13:36 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-09-05 14:13:36 +0000
commitb43aab15735430e5973ca9022bcde67bccbc7ff5 (patch)
tree921eb0e10ce3ee5e9a5c6e0ac4ab7a26b2e81483 /chapter05
parent5dff45e4a356d9475c830493a29bdecf721fcfeb (diff)
Added notes that gcc, binutils and glibc behave badly when optimized and
thus should be left alone. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1172 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/binutils-inst.xml6
-rw-r--r--chapter05/gcc-inst.xml6
2 files changed, 12 insertions, 0 deletions
diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml
index 6e6d242d2..5205ad482 100644
--- a/chapter05/binutils-inst.xml
+++ b/chapter05/binutils-inst.xml
@@ -1,6 +1,12 @@
<sect2>
<title>Installation of Binutils</title>
+<para>This package is known to behave badly when you have changed it's default
+optimization flags (including the -march and -mcpu options). Binutils is
+best left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other
+such variables/settings that would change the default optimization that
+it comes with.</para>
+
<para>Install Binutils by running the following commands:</para>
<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;</userinput>
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 253a12df8..575ee0141 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -1,6 +1,12 @@
<sect2>
<title>Installation of GCC</title>
+<para>This package is known to behave badly when you have changed it's default
+optimization flags (including the -march and -mcpu options). GCC is best
+left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other
+such variables/settings that would change the default optimization that
+it comes with.</para>
+
<para>Install GCC by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;</userinput>