[blfs-book] r13008 - in trunk/BOOK: general/prog introduction/welcome

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Tue Apr 29 03:33:31 PDT 2014


Author: pierre
Date: Tue Apr 29 03:33:31 2014
New Revision: 13008

Log:
Remove unneeded switches for GCC compilation antidy up tests instruction

Modified:
   trunk/BOOK/general/prog/gcc.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general/prog/gcc.xml
==============================================================================
--- trunk/BOOK/general/prog/gcc.xml	Mon Apr 28 23:09:41 2014	(r13007)
+++ trunk/BOOK/general/prog/gcc.xml	Tue Apr 29 03:33:31 2014	(r13008)
@@ -195,11 +195,12 @@
 <screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in         &&
 sed -i 's/\(install-data-am:\).*/\1/'             libffi/include/Makefile.in &&
 
+<!-- fomit-frame-pointer is the defaults since GCC-4.6
 case `uname -m` in
       i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
 esac &&
-
-<!--sed -i -e /autogen/d -e /check.sh/d fixincludes/Makefile.in
+--><!-- Those are not needed anymore:
+sed -i -e /autogen/d -e /check.sh/d fixincludes/Makefile.in
 mv -v libmudflap/testsuite/libmudflap.c++/pass41-frag.cxx{,.disable}
 -->
 mkdir ../gcc-build &&
@@ -224,9 +225,15 @@
     (pass when expected to FAIL). To run the tests, issue:</para>
 
 <screen><userinput>ulimit -s 32768 &&
-make -k check   &&
+make -k check</userinput></screen>
+<!-- The command above may error out, so using && may prevent the summary
+to be run. -->
+
+    <para>The tests are very long, and the results may be hard to find in the
+    logs, specially if you use job control with make. You can get a summary
+    of the tests with:</para>
 
-../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
+<screen><userinput>../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
@@ -254,11 +261,10 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para>The first two <command>sed</command> commands prevent the
+    <para>The two <command>sed</command> commands prevent the
     installation of the <application>libffi</application> library bundled
     with <application>GCC</application>, since it is outdated compared to
-    <xref linkend="libffi"/>. The following three commands are the same
-    ones used during the build of LFS.</para>
+    <xref linkend="libffi"/>.</para>
 
     <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
     <application>GCC</application> documentation recommends

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Mon Apr 28 23:09:41 2014	(r13007)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Tue Apr 29 03:33:31 2014	(r13008)
@@ -48,6 +48,10 @@
       <para>April 29th, 2014</para>
       <itemizedlist>
         <listitem>
+          <para>[pierre] - Remove unneeded flags for compiling GCC-4.9.0
+          and correct test instructions.</para>
+        </listitem>
+        <listitem>
           <para>[pierre] - Update to GCC-4.9.0. Fixes
           <ulink url="&blfs-ticket-root;4986">#4986</ulink>.</para>
         </listitem>


More information about the blfs-book mailing list