Author: bdubbs
Date: 2006-04-24 22:53:03 -0600 (Mon, 24 Apr 2006)
New Revision: 5928

Modified:
   trunk/BOOK/general/prog/gcc3.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added a note about adding FORTRAN 77 and Objective C to the gcc-3 instructions.

Modified: trunk/BOOK/general/prog/gcc3.xml
===================================================================
--- trunk/BOOK/general/prog/gcc3.xml    2006-04-25 00:22:19 UTC (rev 5927)
+++ trunk/BOOK/general/prog/gcc3.xml    2006-04-25 04:53:03 UTC (rev 5928)
@@ -142,12 +142,26 @@
     <application>GCC</application> development team recommends
     building in a separate directory.</para>
 
-    <para><parameter>--enable-shared --enable-languages=c,c++
+    <para id='gcc3-lang'><parameter>--enable-shared --enable-languages=c,c++
     --enable-threads=posix</parameter>: Configures
-    <application>GCC</application> to build the
-    <application>C</application> and <application>C++</application> compilers
-    and enable the related <application>C++</application> options.</para>
+    <application>GCC</application> to build the <application>C</application>
+    and <application>C++</application> compilers and enable the related
+    <application>C++</application> options. In addition to c and c++, you can
+    add f77 for FORTRAN (called <application>g77</application>) and objc for
+    Objective C libraries.  Note that <application>GCC-4</application> no
+    longer provides a FORTRAN 77 compiler.   Ada is a more complicated
+    installation and not supported in BLFS.</para>
 
+    <indexterm zone="gcc3  gcc3-lang">
+      <primary sortas="b-g77">g77</primary>
+    </indexterm>
+    <indexterm zone="gcc3 gcc3-lang">
+      <primary sortas="b-FORTRAN">FORTRAN</primary>
+    </indexterm>
+    <indexterm zone="gcc3 gcc3-lang">
+      <primary sortas="b-ObjeciveC">Objective C</primary>
+    </indexterm>
+              
     <para><command>mv -v /opt/gcc-&gcc3-version;/lib/libstdc++.so.5*
     /usr/lib</command>: Moves the <application>C++</application> library to the
     standard lib directory to avoid having to add
@@ -162,8 +176,6 @@
     <sect3>
       <title>Configuration information</title>
 
-      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="../../lib-config.xml"/>
-
       <para>If you only need the GCC-&gcc3-version; C++ library, you may delete
       <filename>/opt/gcc-&gcc3-version;</filename>.</para>
 
@@ -173,6 +185,13 @@
       front of your <envar>PATH</envar> or (preferably) set the 
<envar>CC</envar>
       environment variable before compiling the concerned package.</para>
 
+      <para>If you need <application>g77</application> or Objective C
+      libraries, you also need to either update
+      <filename>/etc/ld.so.conf</filename> to point to <filename
+      class='directory'>/opt/gcc-&gcc3-version;/lib</filename> and run
+      <application>ldconfig</application> or export
+      LD_LIBRARY_PATH=/opt/gcc-&gcc3-version;/lib.</para>
+
     </sect3>
 
   </sect2>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2006-04-25 00:22:19 UTC 
(rev 5927)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2006-04-25 04:53:03 UTC 
(rev 5928)
@@ -45,6 +45,10 @@
       <para>April 25th, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Added a note about adding FORTRAN 77 and
+          Objective C to the gcc-3 instructions.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Added a short note about the GCC-3.4.6 Fortran
           installation instructions on the BLFS Wiki to the GCC-4.0.x
           instructions.</para>

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

Reply via email to