Index: general.ent
===================================================================
--- general.ent	(revision e7c81851664a676ce3a09602b26478d3014f7167)
+++ general.ent	(revision d496aeab070b5dc468658e66d9b1692e1f8cf649)
@@ -135,5 +135,5 @@
 <!ENTITY gcc2-version                 "2.95.3">
 <!ENTITY NASM-version                 "0.98.38">
-                                     
+<!ENTITY gcc3-version                 "3.3.3">                                     
 <!-- Part IV -->                     
                                      
Index: general/prog/gcc3.xml
===================================================================
--- general/prog/gcc3.xml	(revision d496aeab070b5dc468658e66d9b1692e1f8cf649)
+++ general/prog/gcc3.xml	(revision d496aeab070b5dc468658e66d9b1692e1f8cf649)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY gcc3-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;.tar.gz">
+  <!ENTITY gcc3-download-ftp  "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc3-version;.tar.gz">
+  <!ENTITY gcc3-size          "22.7 MB">
+  <!ENTITY gcc3-buildsize     "289 MB">
+  <!ENTITY gcc3-time          "2.60 SBU">
+]>
+
+<sect1 id="gcc3" xreflabel="GCC-&gcc3-version;">
+<sect1info>
+<othername>$LastChangedBy: archaic $</othername>
+<date>$Date: 2004-08-09 23:25:57 -0500 (Mon, 09 Aug 2004) $</date>
+</sect1info>
+<?dbhtml filename="gcc3.html" ?>
+<title>GCC-&gcc3-version;</title>
+
+<sect2>
+<title>Introduction to <application><acronym>GCC</acronym></application>-&gcc3-version;</title>
+
+<para>The reason for installing <acronym>GCC</acronym>-&gcc3-version; is that 
+some <acronym>BLFS</acronym> packages (such as compiled Java) have not
+been updated to be compilable by <acronym>GCC</acronym>-&gcc-version;.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Download (HTTP): <ulink
+url="&gcc3-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink
+url="&gcc3-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &gcc3-size;</para></listitem>
+<listitem><para>Estimated Disk space required:
+&gcc3-buildsize;</para></listitem>
+<listitem><para>Estimated build time:
+&gcc3-time;</para></listitem></itemizedlist>
+</sect3>
+
+<sect3><title>Additional downloads</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Required Patch: <ulink 
+url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para></listitem>
+</itemizedlist>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application><acronym>GCC</acronym></application></title>
+
+<para>Apply the patches:</para>
+
+<screen><userinput><command>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch</command></userinput></screen>
+
+<para>The <acronym>GCC</acronym> development team recommends building in a 
+separate directory.</para>
+
+<screen><userinput><command>mkdir ../gcc-build &amp;&amp;
+cd ../gcc-build</command></userinput></screen>
+
+<para>Configure <acronym>GCC</acronym> to build the
+<application>C</application> and <application>C++</application> compilers and 
+enable the related <application>C++</application> options.</para>
+
+<screen><userinput><command>../gcc-&gcc3-version;/configure \
+    --prefix=/opt/gcc-&gcc3-version; \
+    --enable-shared --enable-languages=c,c++ \
+    --enable-threads=posix</command></userinput></screen>
+
+<para>Compile and install <acronym>GCC</acronym>:</para>
+
+<screen><userinput><command>make bootstrap &amp;&amp;
+make install</command></userinput></screen>
+
+
+<para>Move the <application>C++</application> libraries to the standard lib 
+directory to avoid having to add <userinput>/opt/gcc-&gcc3-version;/lib
+</userinput> to <filename>/etc/ld.so.conf</filename>.</para>
+
+<screen><userinput><command>mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib</command></userinput></screen>
+
+
+</sect2>
+
+<sect2>
+<title>Configuring <application><acronym>GCC</acronym></application></title>
+
+<sect3><title>Configuration Information</title>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>  
+
+<para>The instructions given above make compatibility symlinks that pre-compiled
+packages in <acronym>BLFS</acronym> require. You may create additional
+compatibility links based on your requirements.</para>
+
+<para>If you only need the GCC-&gcc3-version; libraries, you may delete
+<filename>/opt/gcc-&gcc3-version;</filename>.</para>
+
+<para>Whenever you need to use GCC-&gcc3-version; instead of your system
+installed compiler, add
+<filename class="directory">/opt/gcc-&gcc3-version;/bin</filename> to the 
+front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar>
+environment variable before compiling the concerned package.</para>
+
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The GCC-&gcc3-version; package contains the
+<command>gcc</command>-&gcc3-version; <application>C</application> and
+<application>C++</application> compilers and GCC-&gcc3-version;
+<filename>libstdc++.so</filename> that is required by some commercial and
+pre-compiled packages.</para>
+
+</sect2>
+
+</sect1>
+
Index: general/prog/j2sdk.xml
===================================================================
--- general/prog/j2sdk.xml	(revision e7c81851664a676ce3a09602b26478d3014f7167)
+++ general/prog/j2sdk.xml	(revision d496aeab070b5dc468658e66d9b1692e1f8cf649)
@@ -92,5 +92,5 @@
 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), 
 <xref linkend="zip"/>, <xref linkend="unzip"/>, <xref linkend="cpio"/>, 
-<xref linkend="alsa"/>, and <xref linkend="tcsh"/>
+<xref linkend="alsa"/>, <xref linkend="tcsh"/> and <xref linkend="gcc3"/>
 </para></sect4>
 </sect3>
@@ -143,5 +143,5 @@
 <screen><userinput><command>for PATCH in fix_inline_asm-1 gcc33-1 \
              motif_mkmsgcat-1 remove_debug_image-1 remove_fixed_paths-1 \
-             static_cxx-1
+             static_cxx-1 nptl-1
 do
    patch -Np1 -i j2sdk-&j2sdk-src-version;-$PATCH.patch
@@ -161,5 +161,7 @@
 export INSANE=true &amp;&amp;
 export MAKE_VERBOSE=true &amp;&amp;
-export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</command></userinput></screen>
+export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts
+export PATH_HOLD=$PATH
+export PATH=/opt/gcc-&gcc3-version;/bin:$PATH</command></userinput></screen>
 
 <warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build 
@@ -189,5 +191,6 @@
 cd ../.. &amp;&amp;
 cd control/build/linux-i?86 &amp;&amp;
-cp -a j2sdk-image /opt/j2sdk/j2sdk-&j2sdk-src-version;</command></userinput></screen>
+cp -a j2sdk-image /opt/j2sdk/j2sdk-&j2sdk-src-version; &amp;&amp;
+export PATH=$PATH_HOLD</command></userinput></screen>
 
 </sect2>
Index: general/prog/prog.xml
===================================================================
--- general/prog/prog.xml	(revision e7c81851664a676ce3a09602b26478d3014f7167)
+++ general/prog/prog.xml	(revision d496aeab070b5dc468658e66d9b1692e1f8cf649)
@@ -28,4 +28,5 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc2.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc3.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="nasm.xml"/>
 
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision e7c81851664a676ce3a09602b26478d3014f7167)
+++ introduction/welcome/changelog.xml	(revision d496aeab070b5dc468658e66d9b1692e1f8cf649)
@@ -23,4 +23,8 @@
 <itemizedlist>
 
+<listitem><para>September 2nd, 2004 [larry]: Added a page for GCC-3.3 to
+allow j2sdk to be built. Stop Gap measure until patches
+appear.</para></listitem>
+
 <listitem><para>September 2nd, 2004 [randy]: Updated to
 Dillo-0.8.2.</para></listitem>
