浏览代码

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

Gerard Beekmans 24 年之前
父节点
当前提交
b43aab1573
共有 6 个文件被更改,包括 35 次插入0 次删除
  1. 5 0
      chapter01/changelog.xml
  2. 6 0
      chapter05/binutils-inst.xml
  3. 6 0
      chapter05/gcc-inst.xml
  4. 6 0
      chapter06/binutils-inst.xml
  5. 6 0
      chapter06/gcc-inst.xml
  6. 6 0
      chapter06/glibc-inst.xml

+ 5 - 0
chapter01/changelog.xml

@@ -5,6 +5,11 @@
 
 
 <itemizedlist>
 <itemizedlist>
 
 
+<listitem><para>September 5th, 2001 [gerard]: Chapters 5 &amp; 6: Added
+notes to the gcc, binutils and glibc installations that these packages
+behave badly when the default optimization flags are changed and should
+be left alone.</para></listitem>
+
 <listitem><para>September 4th, 2001 [gerard]: Chapter 6-Bzip2: Added ln
 <listitem><para>September 4th, 2001 [gerard]: Chapter 6-Bzip2: Added ln
 command to create /lib/libbz2.so</para></listitem>
 command to create /lib/libbz2.so</para></listitem>
 
 

+ 6 - 0
chapter05/binutils-inst.xml

@@ -1,6 +1,12 @@
 <sect2>
 <sect2>
 <title>Installation of Binutils</title>
 <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>Install Binutils by running the following commands:</para>
 
 
 <para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;</userinput>
 <para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;</userinput>

+ 6 - 0
chapter05/gcc-inst.xml

@@ -1,6 +1,12 @@
 <sect2>
 <sect2>
 <title>Installation of GCC</title>
 <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>Install GCC by running the following commands:</para>
 
 
 <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;</userinput>
 <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;</userinput>

+ 6 - 0
chapter06/binutils-inst.xml

@@ -1,5 +1,11 @@
 <sect2><title>Installation of Binutils</title>
 <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>Install Binutils by running the following commands:</para>
 
 
 <para><screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;</userinput>
 <para><screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;</userinput>

+ 6 - 0
chapter06/gcc-inst.xml

@@ -1,6 +1,12 @@
 <sect2>
 <sect2>
 <title>Installation of GCC</title>
 <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. These commands will build
 <para>Install GCC by running the following commands. These commands will build
 the C and C++ compiler. Other compilers are available within the gcc
 the C and C++ compiler. Other compilers are available within the gcc
 package. If you want to build all the other availble compilers too,
 package. If you want to build all the other availble compilers too,

+ 6 - 0
chapter06/glibc-inst.xml

@@ -6,6 +6,12 @@ glibc-&glibc-version; directory and unpack glibc-linuxthreads inside
 the glibc-&glibc-version; directory, not in /usr/src as you normally
 the glibc-&glibc-version; directory, not in /usr/src as you normally
 would do.</para>
 would do.</para>
 
 
+<para>This package is known to behave badly when you have changed it's default
+optimization flags (including the -march and -mcpu options). Glibc 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 Glibc by running the following commands:</para>
 <para>Install Glibc by running the following commands:</para>
 
 
 <para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>
 <para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>