Author: jhuntwork
Date: 2007-08-07 15:00:10 -0600 (Tue, 07 Aug 2007)
New Revision: 8284
Modified:
branches/jh/BOOK/chapter01/changelog.xml
branches/jh/BOOK/chapter01/whatsnew.xml
branches/jh/BOOK/chapter05/chapter05.xml
branches/jh/BOOK/chapter05/flex.xml
branches/jh/BOOK/chapter05/gcc-pass1.xml
branches/jh/BOOK/packages.ent
Log:
* Upgrade to GCC 4.2.1
* Add m4, bison and flex back to chapter 5 to support HJL Binutils
Modified: branches/jh/BOOK/chapter01/changelog.xml
===================================================================
--- branches/jh/BOOK/chapter01/changelog.xml 2007-08-07 20:25:36 UTC (rev
8283)
+++ branches/jh/BOOK/chapter01/changelog.xml 2007-08-07 21:00:10 UTC (rev
8284)
@@ -39,7 +39,14 @@
<listitem>
<para>2007-08-07</para>
<itemizedlist>
+ <listitem>
+ <para>[jhuntwork] - Since we're using HJL Binutils, add m4, bison
and flex
+ back to chatper 5.</para>
+ </listitem>
<listitem>
+ <para>[jhuntwork] - Upgraded to GCC 4.2.1</para>
+ </listitem>
+ <listitem>
<para>[jhuntwork] - Upgraded to HJL Binutils-2.17.50.0.18</para>
</listitem>
<listitem>
Modified: branches/jh/BOOK/chapter01/whatsnew.xml
===================================================================
--- branches/jh/BOOK/chapter01/whatsnew.xml 2007-08-07 20:25:36 UTC (rev
8283)
+++ branches/jh/BOOK/chapter01/whatsnew.xml 2007-08-07 21:00:10 UTC (rev
8284)
@@ -76,10 +76,10 @@
<!--<listitem>
<para>Gawk &gawk-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>GCC &gcc-version;</para>
</listitem>
- <listitem>
+ <!-- <listitem>
<para>Gettext &gettext-version;</para>
</listitem>-->
<listitem>
Modified: branches/jh/BOOK/chapter05/chapter05.xml
===================================================================
--- branches/jh/BOOK/chapter05/chapter05.xml 2007-08-07 20:25:36 UTC (rev
8283)
+++ branches/jh/BOOK/chapter05/chapter05.xml 2007-08-07 21:00:10 UTC (rev
8284)
@@ -33,7 +33,9 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grep.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gzip.xml"/>
- <!--<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/>-->
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bison.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/>
Modified: branches/jh/BOOK/chapter05/flex.xml
===================================================================
--- branches/jh/BOOK/chapter05/flex.xml 2007-08-07 20:25:36 UTC (rev 8283)
+++ branches/jh/BOOK/chapter05/flex.xml 2007-08-07 21:00:10 UTC (rev 8284)
@@ -37,20 +37,8 @@
<sect2 role="installation">
<title>Installation of Flex</title>
- <para>Flex contains several known bugs. These can be fixed with the
- following patch:</para>
+ <para>Prepare Flex for compilation:</para>
-<screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
-
- <para>The GNU autotools will detect that the Flex source code has been
- modified by the previous patch and tries to update the man page
- accordingly. This does not work on many systems, and the default page is
- fine, so make sure it does not get regenerated:</para>
-
-<screen><userinput>touch doc/flex.1</userinput></screen>
-
- <para>Now prepare Flex for compilation:</para>
-
<screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Compile the package:</para>
Modified: branches/jh/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- branches/jh/BOOK/chapter05/gcc-pass1.xml 2007-08-07 20:25:36 UTC (rev
8283)
+++ branches/jh/BOOK/chapter05/gcc-pass1.xml 2007-08-07 21:00:10 UTC (rev
8284)
@@ -46,7 +46,7 @@
<para>Prepare GCC for compilation:</para>
<screen><userinput>CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure
--prefix=/tools \
- --with-local-prefix=/tools --disable-nls --enable-shared \
+ --with-local-prefix=/tools --disable-nls --disable-shared \
--enable-languages=c --disable-multilib</userinput></screen>
<variablelist>
@@ -75,14 +75,10 @@
</varlistentry>
<varlistentry>
- <term><parameter>--enable-shared</parameter></term>
+ <term><parameter>--disable-shared</parameter></term>
<listitem>
- <para>This switch allows the building of <filename
- class="libraryfile">libgcc_s.so.1</filename> and
- <filename class="libraryfile">libgcc_eh.a</filename>.
- Having <filename class="libraryfile">libgcc_eh.a</filename>
- available ensures that the configure script for Glibc (the
- next package we compile) produces the proper results.</para>
+ <para>This forces gcc to link its internal libraries statically. We
do this
+ to avoid possible issues with the host system.</para>
</listitem>
</varlistentry>
Modified: branches/jh/BOOK/packages.ent
===================================================================
--- branches/jh/BOOK/packages.ent 2007-08-07 20:25:36 UTC (rev 8283)
+++ branches/jh/BOOK/packages.ent 2007-08-07 21:00:10 UTC (rev 8284)
@@ -55,10 +55,8 @@
<!ENTITY bison-url "&gnu;bison/bison-&bison-version;.tar.bz2">
<!ENTITY bison-md5 "c18640c6ec31a169d351e3117ecce3ec">
<!ENTITY bison-home "&gnu-software;bison/">
-<!--
-<!ENTITY bison-ch5-du "">
-<!ENTITY bison-ch5-sbu "">
--->
+<!ENTITY bison-ch5-du "12.3 MB">
+<!ENTITY bison-ch5-sbu "0.2 SBU">
<!ENTITY bison-ch6-du "12.3 MB">
<!ENTITY bison-ch6-sbu "0.2 SBU">
@@ -151,10 +149,8 @@
<!ENTITY flex-url "&sourceforge;flex/flex-&flex-version;.tar.bz2">
<!ENTITY flex-md5 "343374a00b38d9e39d1158b71af37150">
<!ENTITY flex-home "http://flex.sourceforge.net">
-<!--
-<!ENTITY flex-ch5-du "">
-<!ENTITY flex-ch5-sbu "">
--->
+<!ENTITY flex-ch5-du "8.4 MB">
+<!ENTITY flex-ch5-sbu "0.1 SBU">
<!ENTITY flex-ch6-du "8.4 MB">
<!ENTITY flex-ch6-sbu "0.1 SBU">
@@ -168,10 +164,10 @@
<!ENTITY gawk-ch6-du "18.2 MB">
<!ENTITY gawk-ch6-sbu "0.2 SBU">
-<!ENTITY gcc-version "4.1.2">
-<!ENTITY gcc-size "38,777 KB">
+<!ENTITY gcc-version "4.2.1">
+<!ENTITY gcc-size "43,029 KB">
<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
-<!ENTITY gcc-md5 "a4a3eb15c96030906d8494959eeda23c">
+<!ENTITY gcc-md5 "cba410e6ff70f7d7f4be7a0267707fd0">
<!ENTITY gcc-home "http://gcc.gnu.org/">
<!ENTITY gcc-ch5p1-du "655 MB">
<!ENTITY gcc-ch5p1-sbu "9.2 SBU">
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page