diff options
-rw-r--r-- | appendixa/gcc-down.xml | 6 | ||||
-rw-r--r-- | appendixa/perl-down.xml | 6 | ||||
-rw-r--r-- | chapter01/changelog.xml | 21 | ||||
-rw-r--r-- | chapter04/gcc-patch.xml | 3 | ||||
-rw-r--r-- | chapter04/glibc-patch.xml | 6 | ||||
-rw-r--r-- | chapter04/packages.xml | 2 | ||||
-rw-r--r-- | chapter04/perl-patch.xml | 3 | ||||
-rw-r--r-- | chapter05/gcc-exp.xml | 17 | ||||
-rw-r--r-- | chapter05/gcc-inst.xml | 7 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 5 | ||||
-rw-r--r-- | chapter06/glibc-exp.xml | 4 | ||||
-rw-r--r-- | chapter06/groff-exp.xml | 4 | ||||
-rw-r--r-- | chapter06/groff-inst.xml | 4 | ||||
-rw-r--r-- | chapter06/makedev-inst.xml | 6 | ||||
-rw-r--r-- | chapter06/perl-exp.xml | 8 | ||||
-rw-r--r-- | chapter06/perl-inst.xml | 3 | ||||
-rw-r--r-- | chapter06/perl.xml | 1 | ||||
-rw-r--r-- | entities/automake.ent | 4 | ||||
-rw-r--r-- | entities/gcc.ent | 6 | ||||
-rw-r--r-- | entities/glibc.ent | 4 | ||||
-rw-r--r-- | entities/groff.ent | 4 | ||||
-rw-r--r-- | entities/makedev.ent | 2 | ||||
-rw-r--r-- | entities/perl.ent | 7 | ||||
-rw-r--r-- | entities/utillinux.ent | 4 | ||||
-rw-r--r-- | index.xml | 6 |
25 files changed, 79 insertions, 64 deletions
diff --git a/appendixa/gcc-down.xml b/appendixa/gcc-down.xml index 6867ef504..345a7d929 100644 --- a/appendixa/gcc-down.xml +++ b/appendixa/gcc-down.xml @@ -2,5 +2,9 @@ <title>Official Download Location</title> <para><literallayout>GCC (&gcc-version;): -<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/></literallayout></para> +<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/> + +GCC Patch (&gcc-patch-version;): +<ulink url="&ftp;/"/> +<ulink url="&http;/"/></literallayout></para> </sect2> diff --git a/appendixa/perl-down.xml b/appendixa/perl-down.xml index 6c1e4976a..ede165d48 100644 --- a/appendixa/perl-down.xml +++ b/appendixa/perl-down.xml @@ -2,9 +2,5 @@ <title>Official Download Location</title> <para><literallayout>Perl (&perl-version;): -<ulink url="http://www.perl.com/"/> - -Perl Patch (&perl-version;): -<ulink url="&ftp;/"/> -<ulink url="&http;/"/></literallayout></para> +<ulink url="http://www.perl.com/"/></literallayout></para> </sect2> diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 06027cf98..c1d4b0db8 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -8,25 +8,27 @@ <listitem><para>Updated to: <itemizedlist> -<listitem><para>automake-1.6.2</para></listitem> +<listitem><para>automake-1.6.3</para></listitem> <listitem><para>bin86-0.16.3</para></listitem> <listitem><para>binutils-2.13</para></listitem> <listitem><para>bison-1.35</para></listitem> <listitem><para>diffutils-2.8.1</para></listitem> <listitem><para>file-3.39</para></listitem> <listitem><para>gawk-3.1.1</para></listitem> -<listitem><para>gcc-3.1</para></listitem> +<listitem><para>gcc-3.2</para></listitem> <listitem><para>gettext-0.11.5</para></listitem> +<listitem><para>groff-1.18</para></listitem> <listitem><para>linux-2.4.19</para></listitem> -<listitem><para>MAKEDEV-1.5</para></listitem> +<listitem><para>MAKEDEV-1.7</para></listitem> <listitem><para>man-1.5k</para></listitem> <listitem><para>man-pages-1.52</para></listitem> <listitem><para>modutils-2.4.19</para></listitem> <listitem><para>ncurses-5.2-2.patch</para></listitem> +<listitem><para>perl-5.8.0</para></listitem> <listitem><para>psmisc-21</para></listitem> <listitem><para>texinfo-4.2</para></listitem> <listitem><para>textutils-2.1</para></listitem> -<listitem><para>util-linux-2.11t</para></listitem> +<listitem><para>util-linux-2.11u</para></listitem> </itemizedlist> </para></listitem> @@ -35,9 +37,9 @@ <listitem><para>ed-0.2.patch</para></listitem> <listitem><para>fileutils-4.1.patch</para></listitem> <listitem><para>gawk-3.1.1.patch</para></listitem> -<listitem><para>glibc-2.2.5.patch</para></listitem> +<listitem><para>gcc-3.2.patch</para></listitem> +<listitem><para>glibc-2.2.5-2.patch</para></listitem> <listitem><para>ncurses-5.2.patch</para></listitem> -<listitem><para>perl-5.6.1.patch</para></listitem> <listitem><para>vim-6.1.patch</para></listitem> <listitem><para>zlib-1.1.4</para></listitem> </itemizedlist> @@ -50,6 +52,13 @@ </itemizedlist> </para></listitem> +<listitem><para>August 26th, 2002 [gerard]: Added a new Glibc patch and +introducted a GCC patch.</para></listitem> + +<listitem><para>August 26th, 2002 [gerard]: Updated to automake-1.6.3, +gcc-3.2, groff-1.18, makedev-1.7, perl-5.8.0, +util-linux-2.11u</para></listitem> + <listitem><para>August 22nd, 2002 [timothy]: Appendix: Added missing URLs to patches.</para></listitem> diff --git a/chapter04/gcc-patch.xml b/chapter04/gcc-patch.xml new file mode 100644 index 000000000..f93b6248e --- /dev/null +++ b/chapter04/gcc-patch.xml @@ -0,0 +1,3 @@ +GCC Patch (&gcc-patch-version;) - &gcc-patch-size;: +<ulink url="&ftp;/gcc-&gcc-patch-version;.patch.bz2"/> +<ulink url="&http;/gcc-&gcc-patch-version;.patch.bz2"/> diff --git a/chapter04/glibc-patch.xml b/chapter04/glibc-patch.xml index 5ce5d649b..62028d316 100644 --- a/chapter04/glibc-patch.xml +++ b/chapter04/glibc-patch.xml @@ -1,3 +1,3 @@ -Glibc Patch (&glibc-version;) - &glibc-patch-size;: -<ulink url="&ftp;/glibc-&glibc-version;.patch.bz2"/> -<ulink url="&http;/glibc-&glibc-version;.patch.bz2"/> +Glibc Patch (&glibc-patch-version;) - &glibc-patch-size;: +<ulink url="&ftp;/glibc-&glibc-patch-version;.patch.bz2"/> +<ulink url="&http;/glibc-&glibc-patch-version;.patch.bz2"/> diff --git a/chapter04/packages.xml b/chapter04/packages.xml index f271dbc94..5cb8a69e5 100644 --- a/chapter04/packages.xml +++ b/chapter04/packages.xml @@ -12,6 +12,7 @@ &c3-fileutils; &c3-fileutils-patch; &c3-gcc; +&c3-gcc-patch; &c3-kernel; &c3-grep; &c3-gzip; @@ -45,7 +46,6 @@ &c3-groff; &c3-man; &c3-perl; -&c3-perl-patch; &c3-m4; &c3-autoconf; &c3-automake; diff --git a/chapter04/perl-patch.xml b/chapter04/perl-patch.xml deleted file mode 100644 index 451eed9ce..000000000 --- a/chapter04/perl-patch.xml +++ /dev/null @@ -1,3 +0,0 @@ -Perl Patch (&perl-version;) - &perl-patch-size;: -<ulink url="&ftp;/perl-&perl-version;.patch.bz2"/> -<ulink url="&http;/perl-&perl-version;.patch.bz2"/> diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index 254e713ff..271a30663 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -1,9 +1,10 @@ <sect2> <title>Command explanations</title> -<para><userinput>make BOOT_LDFLAGS=-static:</userinput> -This is the equivalent to make LDFLAGS=-static as we use with other -packages to compile them statically.</para> +<para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput> +This patch fixes a few bug fixes. See +<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/> for +more details.</para> <para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard codes some paths while compiling and so we need to pass /static as the @@ -18,9 +19,13 @@ the --enable-languages parameter may be omitted.</para> <para><userinput>--enable-threads=posix:</userinput> This enables C++ exception handling for multithreaded code.</para> -<para><userinput>echo "#define HAVE_GAS_HIDDEN 1":</userinput> -This defines the .hidden assembler directive so that we don't build -a faulty Glibc later on.</para> +<para><userinput>--enable-__cxa-atexit:</userinput> This option will result +in C++ shared libraries and C++ programs that are interoperable with other +linux distributions.</para> + +<para><userinput>make BOOT_LDFLAGS=-static:</userinput> +This is the equivalent to make LDFLAGS=-static as we use with other +packages to compile them statically.</para> <para><userinput>ln -s gcc $LFS/static/bin/cc:</userinput> This creates the $LFS/static/bin/gcc symlink which some packages need.</para> diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index c0a9c97ef..021dd9b03 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -10,11 +10,12 @@ been warned.</para> <para>Install GCC by running the following commands:</para> -<para><screen><userinput>mkdir ../gcc-build && +<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && +mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \ - --disable-nls --disable-shared --enable-threads=posix && -echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h && + --disable-nls --disable-shared --enable-threads=posix \ + --enable-__cxa-atexit && make BOOT_LDFLAGS=-static bootstrap && make prefix=$LFS/static install && ln -s gcc $LFS/static/bin/cc</userinput></screen></para> diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index ae56e55c7..60a486886 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -18,11 +18,12 @@ are available.</para> <para>Note: the build of other compilers is not tested by the people who actively work on LFS.</para> -<para><screen><userinput>mkdir ../gcc-build && +<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && +mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ --enable-languages=c,c++ --enable-threads=posix \ - --with-slibdir=/lib && + --with-slibdir=/lib --enable-_cxa-atexit && make bootstrap && make install && ln -s ../usr/bin/cpp /lib && diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml index 0ff5dd789..3eb7b17b0 100644 --- a/chapter06/glibc-exp.xml +++ b/chapter06/glibc-exp.xml @@ -13,6 +13,10 @@ username to userid resolving isn't working yet, so a <userinput>chown root file</userinput> will fail, however it'll work fine if you use straight IDs.</para> +<para>The patch also contains a few bug fixes and security fixes. More +details can be found on +<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/></para> + <para><userinput>touch /etc/ld.so.conf:</userinput> One of the final steps of the Glibc installation is running ldconfig to update the dynamic loader cache. If this file doesn't exist, the installation will abort with an error diff --git a/chapter06/groff-exp.xml b/chapter06/groff-exp.xml index 99a7c8281..2db6716bc 100644 --- a/chapter06/groff-exp.xml +++ b/chapter06/groff-exp.xml @@ -1,6 +1,10 @@ <sect2> <title>Command explanations</title> +<para><userinput>make PROCESSEDEXAMPLEFILES="":</userinput> Groff has a few +extra dependencies that we don't install with LFS. This option disable the +need for those tools.</para> + <para><userinput>ln -s ...</userinput>: These symlinks are needed for some <userinput>xman</userinput> and other groff/man document programs to work properly.</para> diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml index bb995fa75..562f20090 100644 --- a/chapter06/groff-inst.xml +++ b/chapter06/groff-inst.xml @@ -4,8 +4,8 @@ <para>Install Groff by running the following commands:</para> <para><screen><userinput>./configure --prefix=/usr && -make && -make install && +make PROCESSEDEXAMPLEFILES="" && +make PROCESSEDEXAMPLEFILES="" install && ln -s soelim /usr/bin/zsoelim && ln -s eqn /usr/bin/geqn && ln -s tbl /usr/bin/gtbl</userinput></screen></para> diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml index ccc148595..a4d56ff7b 100644 --- a/chapter06/makedev-inst.xml +++ b/chapter06/makedev-inst.xml @@ -6,9 +6,11 @@ won't create a directory for you to cd into.</para> <para>Create the device files by running the following commands:</para> -<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV && +<para><screen><userinput>ln -s /static/bin/bash /bin/bash && +cp MAKEDEV-&makedev-version; /dev/MAKEDEV && cd /dev && -chmod 754 MAKEDEV</userinput></screen></para> +chmod 754 MAKEDEV && +rm /bin/bash</userinput></screen></para> <para>Now, depending on whether you are going to use devpts or not, you can run one of two commands:</para> diff --git a/chapter06/perl-exp.xml b/chapter06/perl-exp.xml deleted file mode 100644 index c41ccb921..000000000 --- a/chapter06/perl-exp.xml +++ /dev/null @@ -1,8 +0,0 @@ -<sect2> -<title>Command explanations</title> - -<para><userinput>patch -Np1 -i ../perl-&perl-patch-version;.patch:</userinput> This -patch fixes a compile problem with GCC-3.1.</para> - -</sect2> - diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index bac124b7c..ef3fa7bbe 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -7,8 +7,7 @@ commands.</para> <para>Install Perl by running the following commands:</para> -<para><screen><userinput>patch -Np1 -i ../perl-&perl-patch-version;.patch && -./configure.gnu --prefix=/usr && +<para><screen><userinput>./configure.gnu --prefix=/usr && make && make install</userinput></screen></para> diff --git a/chapter06/perl.xml b/chapter06/perl.xml index 33b87163a..5a56590ef 100644 --- a/chapter06/perl.xml +++ b/chapter06/perl.xml @@ -6,7 +6,6 @@ Estimated required disk space: &perl-compsize;</screen> &c6-perl-inst; -&c6-perl-exp; &aa-perl-desc; &aa-perl-dep; diff --git a/entities/automake.ent b/entities/automake.ent index 771f6f72d..6bcd409ed 100644 --- a/entities/automake.ent +++ b/entities/automake.ent @@ -8,10 +8,10 @@ <!ENTITY aa-automake-dep SYSTEM "../appendixa/automake-dep.xml"> <!ENTITY aa-automake-down SYSTEM "../appendixa/automake-down.xml"> -<!ENTITY automake-version "1.6.2"> +<!ENTITY automake-version "1.6.3"> <!ENTITY automake-depversion "1.5"> <!ENTITY automake-contversion "1.6.2"> -<!ENTITY automake-size "464 KB"> +<!ENTITY automake-size "465 KB"> <!ENTITY automake-package "automake-&automake-version;.tar.bz2"> <!ENTITY automake-dir "automake-&automake-version;"> diff --git a/entities/gcc.ent b/entities/gcc.ent index 4cb59ae07..31f92a3ac 100644 --- a/entities/gcc.ent +++ b/entities/gcc.ent @@ -13,10 +13,12 @@ <!ENTITY aa-gcc-dep SYSTEM "../appendixa/gcc-dep.xml"> <!ENTITY aa-gcc-down SYSTEM "../appendixa/gcc-down.xml"> -<!ENTITY gcc-version "3.1"> +<!ENTITY gcc-version "3.2"> <!ENTITY gcc-depversion "2.95.3"> <!ENTITY gcc-contversion "3.1"> -<!ENTITY gcc-size "19,966 KB"> +<!ENTITY gcc-size "20,043 KB"> +<!ENTITY gcc-patch-version "3.2"> +<!ENTITY gcc-patch-size "4 KB"> <!ENTITY gcc-package "gcc-&gcc-version;.tar.bz2"> <!ENTITY gcc-dir "gcc-&gcc-version;"> diff --git a/entities/glibc.ent b/entities/glibc.ent index 0b15eb6ce..e725d6dd2 100644 --- a/entities/glibc.ent +++ b/entities/glibc.ent @@ -17,8 +17,8 @@ <!ENTITY glibc-contversion "2.2.5"> <!ENTITY glibc-size "12,114 KB"> <!ENTITY glibc-threads-size "164 KB"> -<!ENTITY glibc-patch-size "1 KB"> -<!ENTITY glibc-patch-version "2.2.5"> +<!ENTITY glibc-patch-size "8 KB"> +<!ENTITY glibc-patch-version "2.2.5-2"> <!ENTITY glibc-dir "glibc-&glibc-version;"> <!ENTITY glibc-threads-dir "linuxthreads, linuxthreads_db"> <!ENTITY glibc-package "glibc-&glibc-version;.tar.bz2"> diff --git a/entities/groff.ent b/entities/groff.ent index 6f552d8c1..6e7826afb 100644 --- a/entities/groff.ent +++ b/entities/groff.ent @@ -9,10 +9,10 @@ <!ENTITY aa-groff-dep SYSTEM "../appendixa/groff-dep.xml"> <!ENTITY aa-groff-down SYSTEM "../appendixa/groff-down.xml"> -<!ENTITY groff-version "1.17.2"> +<!ENTITY groff-version "1.18"> <!ENTITY groff-depversion "1.17.2"> <!ENTITY groff-contversion "1.17.2"> -<!ENTITY groff-size "1,214 KB"> +<!ENTITY groff-size "1,739 KB"> <!ENTITY groff-dir "groff-&groff-version;"> <!ENTITY groff-package "groff-&groff-version;.tar.bz2"> diff --git a/entities/makedev.ent b/entities/makedev.ent index ece3cee6d..414f999bd 100644 --- a/entities/makedev.ent +++ b/entities/makedev.ent @@ -9,7 +9,7 @@ <!ENTITY aa-makedev-dep SYSTEM "../appendixa/makedev-dep.xml"> <!ENTITY aa-makedev-down SYSTEM "../appendixa/makedev-down.xml"> -<!ENTITY makedev-version "1.5"> +<!ENTITY makedev-version "1.7"> <!ENTITY makedev-depversion "1.5"> <!ENTITY makedev-contversion "1.5"> <!ENTITY makedev-size "8 KB"> diff --git a/entities/perl.ent b/entities/perl.ent index ac1e633e0..88fb97420 100644 --- a/entities/perl.ent +++ b/entities/perl.ent @@ -3,19 +3,16 @@ <!ENTITY c6-perl SYSTEM "../chapter06/perl.xml"> <!ENTITY c6-perl-inst SYSTEM "../chapter06/perl-inst.xml"> -<!ENTITY c6-perl-exp SYSTEM "../chapter06/perl-exp.xml"> <!ENTITY aa-perl SYSTEM "../appendixa/perl.xml"> <!ENTITY aa-perl-desc SYSTEM "../appendixa/perl-desc.xml"> <!ENTITY aa-perl-dep SYSTEM "../appendixa/perl-dep.xml"> <!ENTITY aa-perl-down SYSTEM "../appendixa/perl-down.xml"> -<!ENTITY perl-version "5.6.1"> +<!ENTITY perl-version "5.8.0"> <!ENTITY perl-depversion "5.6.1"> <!ENTITY perl-contversion "5.6.1"> -<!ENTITY perl-size "4,750 KB"> -<!ENTITY perl-patch-size "4 KB"> -<!ENTITY perl-patch-version "5.6.1"> +<!ENTITY perl-size "8,416 KB"> <!ENTITY perl-dir "perl-&perl-version;"> <!ENTITY perl-package "perl-&perl-version;.tar.bz2"> diff --git a/entities/utillinux.ent b/entities/utillinux.ent index 5349fa323..aabb75df0 100644 --- a/entities/utillinux.ent +++ b/entities/utillinux.ent @@ -12,10 +12,10 @@ <!ENTITY aa-utillinux-dep SYSTEM "../appendixa/utillinux-dep.xml"> <!ENTITY aa-utillinux-down SYSTEM "../appendixa/utillinux-down.xml"> -<!ENTITY util-linux-version "2.11t"> +<!ENTITY util-linux-version "2.11u"> <!ENTITY util-linux-depversion "2.11n"> <!ENTITY util-linux-contversion "2.11t"> -<!ENTITY util-linux-size "1064 KB"> +<!ENTITY util-linux-size "1,073 KB"> <!ENTITY util-linux-dir "util-linux-&util-linux-version;"> <!ENTITY util-linux-package "util-linux-&util-linux-version;.tar.bz2"> @@ -15,9 +15,9 @@ <!ENTITY hints-index "http://hints.linuxfromscratch.org/hints.shtml"> <!ENTITY blfs-root "http://beyond.linuxfromscratch.org/"> -<!ENTITY all-version "cvs-20020818-1028"> -<!ENTITY all-size-kb "101,270 KB"> -<!ENTITY all-size-mb "99 MB"> +<!ENTITY all-version "cvs-20020826-1614"> +<!ENTITY all-size-kb "105,030 KB"> +<!ENTITY all-size-mb "103.57 MB"> <!ENTITY % parts SYSTEM "entities/parts.ent"> <!ENTITY % bookinfo SYSTEM "entities/bookinfo.ent"> |