Author: pierre
Date: Sat Jun 13 01:55:55 2020
New Revision: 11934

Log:
- fix some gcc->GCC
- remove commented text in glibc (chap 5), and fix a directory location

Modified:
   branches/cross2/chapter05/gcc-pass1.xml
   branches/cross2/chapter05/glibc.xml
   branches/cross2/chapter05/toolchaintechnotes.xml
   branches/cross2/chapter06/gcc-pass2.xml
   branches/cross2/chapter08/libffi.xml
   branches/cross2/chapter08/strippingagain.xml

Modified: branches/cross2/chapter05/gcc-pass1.xml
==============================================================================
--- branches/cross2/chapter05/gcc-pass1.xml     Sat Jun 13 01:37:05 2020        
(r11933)
+++ branches/cross2/chapter05/gcc-pass1.xml     Sat Jun 13 01:55:55 2020        
(r11934)
@@ -193,7 +193,7 @@
     headers.  Normally one of them, <filename>limits.h</filename>, would in 
turn
     include the corresponding system <filename>limits.h</filename> header, in
     this case, <filename>$LFS/usr/include/limits.h</filename>. However, at the
-    time of this build of gcc <filename>$LFS/usr/include/limits.h</filename>
+    time of this build of GCC <filename>$LFS/usr/include/limits.h</filename>
     does not exist, so the internal header that has just been installed is a
     partial, self-contained file and does not include the extended features of
     the system header. This is adequate for building glibc, but the full

Modified: branches/cross2/chapter05/glibc.xml
==============================================================================
--- branches/cross2/chapter05/glibc.xml Sat Jun 13 01:37:05 2020        (r11933)
+++ branches/cross2/chapter05/glibc.xml Sat Jun 13 01:55:55 2020        (r11934)
@@ -99,9 +99,10 @@
       <varlistentry>
         <term><parameter>--with-headers=$LFS/usr/include</parameter></term>
         <listitem>
-          <para>This tells Glibc to compile itself against the headers recently
-          installed to the usr/include directory, so that it knows exactly what
-          features the kernel has and can optimize itself accordingly.</para>
+          <para>This tells Glibc to compile itself against the headers
+          recently installed to the $LFS/usr/include directory, so that
+          it knows exactly what features the kernel has and can optimize
+          itself accordingly.</para>
         </listitem>
       </varlistentry>
 
@@ -112,24 +113,6 @@
           of the default /lib64 on 64 bit machines.</para>
         </listitem>
       </varlistentry>
-<!--
-      <varlistentry>
-        <term><parameter>libc_cv_c_cleanup=yes</parameter></term>
-        <listitem>
-          <para>Similarly, we pass libc_cv_c_cleanup=yes through to the
-          <command>configure</command> script so that the test is skipped and C
-          cleanup handling support is configured.</para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term><parameter>libc_cv_ctors_header=yes</parameter></term>
-        <listitem>
-          <para>Similarly, we pass libc_cv_ctors_header=yes through to the
-          <command>configure</command> script so that the test is skipped and
-          gcc constructor support is configured.</para>
-        </listitem>
-      </varlistentry>-->
 
     </variablelist>
 

Modified: branches/cross2/chapter05/toolchaintechnotes.xml
==============================================================================
--- branches/cross2/chapter05/toolchaintechnotes.xml    Sat Jun 13 01:37:05 
2020        (r11933)
+++ branches/cross2/chapter05/toolchaintechnotes.xml    Sat Jun 13 01:55:55 
2020        (r11934)
@@ -227,7 +227,7 @@
     this is the only compiler available for building the C/C++ libraries
     during stage 2! Of course, the compiler built during stage 2, cc-lfs,
     would be able to build those libraries, but (1) the build system of
-    gcc does not know that it is usable on pc, and (2) using it on pc
+    GCC does not know that it is usable on pc, and (2) using it on pc
     would be at risk of linking to the pc libraries, since cc-lfs is a native
     compiler. So we have to build libstdc++ later, in chroot.</para>
 

Modified: branches/cross2/chapter06/gcc-pass2.xml
==============================================================================
--- branches/cross2/chapter06/gcc-pass2.xml     Sat Jun 13 01:37:05 2020        
(r11933)
+++ branches/cross2/chapter06/gcc-pass2.xml     Sat Jun 13 01:55:55 2020        
(r11934)
@@ -109,7 +109,7 @@
         <term><parameter>-with-build-sysroot=$LFS</parameter></term>
         <listitem>
           <para>Normally, using <parameter>--host</parameter> ensures that
-          a cross-compiler is used for building gcc, and that compiler knows
+          a cross-compiler is used for building GCC, and that compiler knows
           that it has to look for headers and libraries in <filename
           class="directory">$LFS</filename>. But the build system of GCC uses
           other tools, which are not aware of this location. This switch is

Modified: branches/cross2/chapter08/libffi.xml
==============================================================================
--- branches/cross2/chapter08/libffi.xml        Sat Jun 13 01:37:05 2020        
(r11933)
+++ branches/cross2/chapter08/libffi.xml        Sat Jun 13 01:55:55 2020        
(r11934)
@@ -60,14 +60,14 @@
       <varlistentry>
         <term><parameter>--with-gcc-arch=native</parameter></term>
         <listitem>
-          <para>Ensure gcc optimizes for the current system.  If this
+          <para>Ensure GCC optimizes for the current system.  If this
           is not specified, the system is guessed and the code generated
           may not be correct for some systems.  If the generated code
           will be copied from the native system to a less capable 
           system, use the less capable system as a parameter. For details 
           about alternative system types, see <ulink 
           
url='https://gcc.gnu.org/onlinedocs/gcc-&gcc-version;/gcc/x86-Options.html'>
-          the x86 options in the gcc manual</ulink>.</para>
+          the x86 options in the GCC manual</ulink>.</para>
         </listitem>
       </varlistentry>
 

Modified: branches/cross2/chapter08/strippingagain.xml
==============================================================================
--- branches/cross2/chapter08/strippingagain.xml        Sat Jun 13 01:37:05 
2020        (r11933)
+++ branches/cross2/chapter08/strippingagain.xml        Sat Jun 13 01:55:55 
2020        (r11934)
@@ -30,7 +30,7 @@
   url='&blfs-book;/general/gdb.html'>gdb</ulink> later in BLFS.
   </para>
 
-<!-- also of interest are libgfortan, libgo, libgomp, and libobjc from gcc -->
+<!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC -->
 
 <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so 
libthread_db-1.0.so"-->
 <screen><userinput>save_lib="ld-&glibc-version;.so libc-&glibc-version;.so 
libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so"
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to