[blfs-book] r11775 - trunk/BOOK/general/prog

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Thu Sep 5 20:07:58 PDT 2013


Author: bdubbs
Date: Thu Sep  5 20:07:58 2013
New Revision: 11775

Log:
Tag and adjust gcc instructions for 7.4

Modified:
   trunk/BOOK/general/prog/gcc.xml

Modified: trunk/BOOK/general/prog/gcc.xml
==============================================================================
--- trunk/BOOK/general/prog/gcc.xml	Thu Sep  5 16:02:58 2013	(r11774)
+++ trunk/BOOK/general/prog/gcc.xml	Thu Sep  5 20:07:58 2013	(r11775)
@@ -44,7 +44,7 @@
     Many consider the Iced Tea version to be a more robust Java environment
     than the one provided by <application>GCC</application>.</para>
 
-    &lfs73_checked;
+    &lfs74_checked;
 
     <caution>
       <para>If you are upgrading <application>GCC</application> from any other
@@ -203,20 +203,29 @@
 mkdir ../gcc-build &&
 cd    ../gcc-build &&
 
-../gcc-&gcc-version;/configure         \
-    --prefix=/usr              \
-    --libdir=/usr/lib          \
-    --libexecdir=/usr/lib      \
-    --with-system-zlib         \
-    --enable-shared            \
-    --enable-threads=posix     \
-    --enable-__cxa_atexit      \
-    --disable-multilib         \
-    --enable-clocale=gnu       \
-    --enable-lto               \
+../gcc-&gcc-version;/configure          \
+    --prefix=/usr               \
+    --libdir=/usr/lib           \
+    --libexecdir=/usr/lib       \
+    --enable-shared             \
+    --enable-threads=posix      \
+    --enable-__cxa_atexit       \
+    --disable-multilib          \
+    --disable-bootstrap         \
+    --disable-install-libiberty \
+    --with-system-zlib          \
+    --enable-clocale=gnu        \
+    --enable-lto                \
     --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ &&
+make
+</userinput></screen>
 
-make            &&
+    <para>If you have installed additional packages such as valgrind and gdb,
+    the gcc part of the testsuite will run more tests than in LFS. 
+    Some of those will report FAIL and others XPASS (pass when expected
+    to FAIL).  To run the checks:</para>
+
+<screen><userinput>
 ulimit -s 32768 &&
 make -k check   &&
 



More information about the blfs-book mailing list