Author: jhuntwork
Date: 2007-08-07 16:01:00 -0600 (Tue, 07 Aug 2007)
New Revision: 8285

Modified:
   branches/jh/BOOK/chapter01/changelog.xml
   branches/jh/BOOK/chapter05/gcc-pass1.xml
Log:
Added the necessary libgcc_eh.a -> libgcc.a symlink to support --disable-shared 
in gcc pass 1. --disable-shared added in r8284

Modified: branches/jh/BOOK/chapter01/changelog.xml
===================================================================
--- branches/jh/BOOK/chapter01/changelog.xml    2007-08-07 21:00:10 UTC (rev 
8284)
+++ branches/jh/BOOK/chapter01/changelog.xml    2007-08-07 22:01:00 UTC (rev 
8285)
@@ -39,6 +39,10 @@
     <listitem>
       <para>2007-08-07</para>
       <itemizedlist>
+       <listitem>
+         <para>[jhuntwork] - Add --disable-shared to gcc pass 1. Requires 
adding
+         a libgcc_eh.a -> libgcc.a symlink.</para>
+       </listitem>
         <listitem>
           <para>[jhuntwork] - Since we're using HJL Binutils, add m4, bison 
and flex
          back to chatper 5.</para>

Modified: branches/jh/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- branches/jh/BOOK/chapter05/gcc-pass1.xml    2007-08-07 21:00:10 UTC (rev 
8284)
+++ branches/jh/BOOK/chapter05/gcc-pass1.xml    2007-08-07 22:01:00 UTC (rev 
8285)
@@ -129,6 +129,15 @@
 
 <screen><userinput>make install</userinput></screen>
 
+    <para>Using --disable-shared means that the file
+    <filename class="libraryfile">libgcc_eh.so</filename>
+    isn't built and installed. The next package, Glibc, depends on this 
+    library, so to satisfy that dependency, we'll create a symlink to
+    <filename class="libraryfile">libgcc.a</filename>.</para>
+
+<screen><userinput>ln -vs libgcc.a `gcc -print-libgcc-file-name | \
+    sed 's/libgcc/&amp;_eh/'`</userinput></screen>
+
     <para>As a finishing touch, create a symlink. Many programs and scripts
     run <command>cc</command> instead of <command>gcc</command>, which is
     used to keep programs generic and therefore usable on all kinds of UNIX

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to