Index: general/prog/gcc.xml
===================================================================
--- general/prog/gcc.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,13 @@
+<sect1 id="gcc" xreflabel="gcc-&gcc-version;">
+<?dbhtml filename="gcc.html" dir="general"?>
+<title>gcc-&gcc-version;</title>
+
+&gcc-intro;
+&gcc-inst;
+&gcc-exp;
+&gcc-inst1;
+&gcc-config;
+&gcc-desc;
+
+</sect1>
+
Index: general/prog/gcc/gcc-config.xml
===================================================================
--- general/prog/gcc/gcc-config.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc/gcc-config.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,15 @@
+<sect2>
+<title>Configuring gcc</title>
+
+<sect3><title>Config files</title>
+<para><userinput>List of config files</userinput></para>
+</sect3>
+
+<sect3><title>Configuration Information</title>
+
+<para><userinput>USERINPUT GOES HERE</userinput> Blah blah blah about config.
+</para>
+</sect3>
+
+</sect2>
+
Index: general/prog/gcc/gcc-desc.xml
===================================================================
--- general/prog/gcc/gcc-desc.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc/gcc-desc.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,30 @@
+<sect2>
+<title>Contents</title>
+
+<para>The gcc package contains <userinput>c++</userinput>,
+<userinput>c++filt</userinput>, <userinput>cpp</userinput>,
+<userinput>g++</userinput>, <userinput>g77</userinput>,
+<userinput>gcc</userinput>, <userinput>gccbug</userinput>,
+<userinput>gcov</userinput>, <userinput>glob</userinput>,
+<userinput>gnat</userinput>, <userinput>gnatbind</userinput>,
+<userinput>gnatbl</userinput>, <userinput>gnatchop</userinput>,
+<userinput>gnatfind</userinput>, <userinput>gnatkr</userinput>,
+<userinput>gnatlink</userinput>, <userinput>gnatls</userinput>,
+<userinput>gnatmake</userinput>, <userinput>gnatprep</userinput>,
+<userinput>gnatpsta</userinput>, <userinput>gnatpsys</userinput>,
+<userinput>gnatxref</userinput> and <userinput>gcc libraries</userinput>.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<para>These programs and libraries have been documented on the
+LFS gcc-&gcc-version; page and at <xref linkend="gnat"/> except
+for:</para>
+
+<sect3><title>g77</title>
+<para>g77 is the fortran compiler invoked by gcc.</para></sect3>
+
+
+</sect2>
+
Index: general/prog/gcc/gcc-exp.xml
===================================================================
--- general/prog/gcc/gcc-exp.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc/gcc-exp.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,33 @@
+<sect2>
+<title>Command explanations</title>
+
+<para><userinput>export CC=cc :</userinput> This command allows you to
+use gcc's C compiler instead of gnat's C compiler.</para>
+
+<para><userinput>export PATH_HOLD=$PATH :</userinput> This command
+stores your current path before it's modified so that it can be restored after
+installation.</para>
+
+<para><userinput>export PATH=/usr/src/gnat:$PATH :</userinput> This
+command allows the build to find gnat's Ada compiler to build
+Ada.</para>
+
+<para><userinput>--enable-languages=c,c++,objc,f77,ada :</userinput>
+This command builds all available languages in the gcc package except
+java.  You can modify this command to remove unwanted languages. If you
+are removing Ada, use the separate installation instructions below.</para>
+
+<para><userinput>-- enable shared --enable-threads=posic
+--enable-__cxa_atexit :</userinput> These commands are required to build
+the C++ libraries to published standards.</para>
+
+<para><userinput>--with-slibdir=/lib :</userinput></para>
+
+<para><userinput>touch treeprs.ads [es]info.h nmake.ad[bs] :</userinput>
+This command creates necessary files for the Ada build.</para>
+
+<para><userinput>make gnatlib_and tools :</userinput> This command
+completes the Ada build process.</para>
+
+</sect2>
+
Index: general/prog/gcc/gcc-inst.xml
===================================================================
--- general/prog/gcc/gcc-inst.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc/gcc-inst.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,27 @@
+<sect2>
+<title>Installation of gcc</title>
+
+<para>Install gcc by running the following commands:</para>
+
+<para><screen><userinput>export CC=cc &amp;&amp;
+unset CFLAGS &amp;&amp;
+unset CXXFLAGS &amp;&amp;
+export PATH_HOLD=$PATH &amp;&amp;
+export PATH=/usr/src/gnat:$PATH &amp;&amp;
+mkdir ../gcc-build &amp;&amp;
+cd ../gcc-build &amp;&amp;
+../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
+--enable-languages=c,c++,objc,f77,ada --enable-threads=posix \
+--with-slibdir=/lib --enable-__cxa_atexit &amp;&amp;
+cd ../gcc-&gcc-version;/gcc/ada &amp;&amp;
+touch treeprs.ads [es]info.h nmake.ad[bs] &amp;&amp;
+cd /usr/src/gcc-build &amp;&amp;
+make bootstrap &amp;&amp;
+cd gcc &amp;&amp;
+make gnatlib_and_tools &amp;&amp;
+cd .. &amp;&amp;
+make install &amp;&amp;
+export PATH=$PATH_HOLD</userinput></screen></para>
+
+</sect2>
+
Index: general/prog/gcc/gcc-inst1.xml
===================================================================
--- general/prog/gcc/gcc-inst1.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc/gcc-inst1.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,17 @@
+<sect2>
+<title>Installation of gcc without Ada</title>
+
+<para>Install gcc by running the following commands:</para>
+
+<para><screen><userinput>unset CFLAGS &amp;&amp;
+unset CXXFLAGS &amp;&amp;
+mkdir ../gcc-build &amp;&amp;
+cd ../gcc-build &amp;&amp;
+../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
+--enable-languages=c,c++,objc,f77 --enable-threads=posix \
+--with-slibdir=/lib --enable-__cxa_atexit &amp;&amp;
+make bootstrap &amp;&amp;
+make install</userinput></screen></para>
+
+</sect2>
+
Index: general/prog/gcc/gcc-intro.xml
===================================================================
--- general/prog/gcc/gcc-intro.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc/gcc-intro.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,14 @@
+<sect2>
+<title>Introduction to gcc</title>
+
+<screen>Download location (HTTP):       <ulink url="&gcc-download-http;"/>
+Download location (FTP):        <ulink url="&gcc-download-ftp;"/>
+Version used:                   &gcc-version;
+Package size:                   &gcc-size;
+Estimated Disk space required:  &gcc-buildsize;</screen>
+
+<para>The gcc package contains GNU compiles. This is useful for
+compiling programs written in Ada, C, C++, Fortran and Object C.</para>
+
+
+</sect2>
Index: general/prog/gcc/gcc.ent
===================================================================
--- general/prog/gcc/gcc.ent	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gcc/gcc.ent	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,12 @@
+<!ENTITY gcc SYSTEM "../gcc.xml">
+<!ENTITY gcc-intro SYSTEM "gcc-intro.xml">
+<!ENTITY gcc-inst SYSTEM "gcc-inst.xml">
+<!ENTITY gcc-inst1 SYSTEM "gcc-inst1.xml">
+<!ENTITY gcc-exp SYSTEM "gcc-exp.xml">
+<!ENTITY gcc-desc SYSTEM "gcc-desc.xml">
+<!ENTITY gcc-config SYSTEM "gcc-config.xml">
+<!ENTITY gcc-buildsize "585 MB">
+<!ENTITY gcc-version "3.2">
+<!ENTITY gcc-download-http "http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-3.2/gcc-3.2.tar.bz2">
+<!ENTITY gcc-download-ftp "ftp://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-3.2/gcc-3.2.tar.bz2">
+<!ENTITY gcc-size "19.6 MB">
Index: general/prog/gnat.xml
===================================================================
--- general/prog/gnat.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ general/prog/gnat.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,11 @@
+<sect1 id="gnat" xreflabel="gnat-&gnat-version;">
+<?dbhtml filename="gnat.html" dir="general"?>
+<title>gnat-&gnat-version;</title>
+
+&gnat-intro;
+&gnat-inst;
+&gnat-config;
+&gnat-desc;
+
+</sect1>
+
Index: general/prog/prog.xml
===================================================================
--- general/prog/prog.xml	(revision bc6988d909abfc474fe525967cce0b28ddaa8b64)
+++ general/prog/prog.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -6,4 +6,6 @@
 &j2sdk;
 &ruby;
+&gnat;
+&gcc;
 
 </chapter>
