r993 - trunk

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Oct 17 21:02:57 PDT 2005


Author: tushar
Date: 2005-10-17 22:02:56 -0600 (Mon, 17 Oct 2005)
New Revision: 993

Modified:
   trunk/crosscompiling-x86.txt
Log:
Updated Hint: crosscompiling-x86

Modified: trunk/crosscompiling-x86.txt
===================================================================
--- trunk/crosscompiling-x86.txt	2005-10-12 22:17:45 UTC (rev 992)
+++ trunk/crosscompiling-x86.txt	2005-10-18 04:02:56 UTC (rev 993)
@@ -1,24 +1,28 @@
 AUTHOR: Ted Bullock <tbullock at Canada.com>
 
-DATE: 2005-07-06
+DATE: 2005-10-12
 
 LICENSE: GNU General Public License
 
 SYNOPSIS: How to build LFS for different sub-architectures.
 
-PRIMARY URL:
-http://www.comlore.com/i386-pc-linux-gnu/crosscompiling-x86.txt
+PRIMARY URI:
+http://www.comlore.com/i386-pc-linux-gnu
 
 DESCRIPTION:
 Additive instructions on how to cross-build a LFS-system for different x86 sub-architectures.
 
 PREREQUISITES:
-The command-replacements are applicable for LFS 6.0.  Similar changes will probably work 
+The command-replacements are applicable for LFS 6.1+SVN20051009.  Similar changes will probably work 
 fine on other versions of the book; however your mileage may vary since the resources to 
 build a Linux system are under constant revision and replacement.  You should probably have 
 either completed a run through the book already or at least read the procedures before you 
 start.
 
+Note: There is a nicely formatted pdf and MS *.doc file available at the webpage listed above.  
+Please forgive my horrible web design aesthetics and meaningless babble on that webpage, 
+but the hint is available there so go take a peek!
+
 HINT:
 1.	CROSSCOMPILING-X86
 
@@ -38,7 +42,7 @@
 
 Ideally, all packages should get their information about the target from autoconf configuration 
 parameters and compiler flags.  Unfortunately this is not the reality.  Some packages use 
-different flags and a few packages, notably GCC and Glibc, need other trickery to fake their 
+different flags and a few packages, (notably GCC and Glibc), need other trickery to fake their 
 auto-detection in place of flags.
 
 Additionally, if you are trying to build LFS on a very old 386 then there is an extra trick to 
@@ -66,10 +70,10 @@
 	Intel 486:					i486
 	Intel Pentium 1 and MMX:			i586
 	Intel Pentium Pro, 2, 3, 4 and M:		i686
-	AMD K5, K6-1, K6-2 and K6-3:		i586
-	AMD Athlon 1, 2, 3, 4 and 5:		i686
+	AMD K5, K6-1, K6-2 and K6-3:			i586
+	AMD Athlon 1, 2, 3, 4 and 5:			i686
 	IDT WinChip-C6, WinChip2:			i486
-	VIA C3:					i486
+	VIA C3:						i486
 
 The rest of the hint assumes you have set $CHOST as an environment variable, for example
 
@@ -91,17 +95,17 @@
 	Intel Pentium Pro:		pentiumpro
 	Intel Pentium 2:		pentium2
 	Intel Pentium 3:		pentium3
-	Intel Pentium 4 and M:	pentium4
+	Intel Pentium 4 and M:		pentium4
 
 	AMD K5:				pentium
-	AMD K6-1:				k6
-	AMD K6-2:				k6-2
-	AMD K6-3:				k6-3
+	AMD K6-1:			k6
+	AMD K6-2:			k6-2
+	AMD K6-3:			k6-3
 	AMD Athlon 1 (Classic):		athlon
 	AMD Athlon 2 (Thunderbird):	athlon-tbird
-	AMD Athlon 3 (XP):			athlon-xp
-	AMD Athlon 4 (Palomino):		athlon-4
-	AMD Athlon 5 (MP):			athlon-mp
+	AMD Athlon 3 (XP):		athlon-xp
+	AMD Athlon 4 (Palomino):	athlon-4
+	AMD Athlon 5 (MP):		athlon-mp
 
 	IDT WinChip-C6:			winchip-c6
 	IDT WinChip-2:			winchip2
@@ -110,8 +114,8 @@
 The rest of the hint assumes you have set $CFLAGS and $CXXFLAGS as environment 
 variables, for example:
 
-export CFLAGS="-march=i386"
-export CXXFLAGS="-march=i386"
+	export CFLAGS="-march=i386"
+	export CXXFLAGS="-march=i386"
 
 1.3.1.	ATTENTION REGARDING OPTIMIZATION
 
@@ -137,40 +141,40 @@
 
 2.2.	Chapter 5: Constructing a Temporary System
 
-2.2.1.	Binutils-2.15.91.0.2
+2.2.1.	Binutils-2.16.1
 
 Change:
 
-../binutils-2.14/configure --prefix=/tools --disable-nls
+../binutils-2.16.1/configure --prefix=/tools --disable-nls
 
 To:
-../binutils-2.14/configure --host="$CHOST" --target="$CHOST" \
+../binutils-2.16.1/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/tools --disable-nls
 
-2.2.2.	GCC-3.4.1 - Pass 1
+2.2.2.	GCC-4.0.2 - Pass 1
 
 Change:
-../gcc-3.4.1/configure --prefix=/tools \
+../gcc-4.0.2/configure --prefix=/tools \
 --libexecdir=/tools/lib --with-local-prefix=/tools \
 --disable-nls --enable-shared --enable-languages=c
 
 To:
-../gcc-3.4.1/configure --host="$CHOST" --target="$CHOST"
+../gcc-4.0.2/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/tools --libexecdir=/tools/lib \
 --with-local-prefix=/tools --disable-nls \
 --enable-shared --enable-languages=c
 
 And then, change:
-make BOOT_LDFLAGS="-static" bootstrap
+make bootstrap
 
 To:
-make BOOT_CFLAGS="$CFLAGS" BOOT_LDFLAGS="-static" bootstrap
+make BOOT_CFLAGS="$CFLAGS" bootstrap
 
-2.2.3.	Linux-Libc-Headers-2.6.8.1
+2.2.3.	Linux-Libc-Headers-2.6.12.0
 
 No changes - we are just copying the header files here.
 
-2.2.4.	Glibc-2.3.4-20040701
+2.2.4.	Glibc-2.3.5
 
 Ok, this one is a bit trickier and what you put here can have some important ramifications 
 later.  If your target machine is a 486 or higher you should follow the (>=486) instructions 
@@ -181,40 +185,46 @@
 
 Change:
 
-../glibc-2.3.4-20040701/configure --prefix=/tools \
---disable-profile --enable-add-ons=nptl --with-tls \
---with-__thread --enable-kernel=2.6.0 \
---with-binutils=/tools/bin --without-gd --without-cvs \
---with-headers=/tools/glibc-kernheaders
+../glibc-2.3.5/configure --prefix=/tools \
+--disable-profile --enable-add-ons \
+--enable-kernel=2.6.0 --with-binutils=/tools/bin \
+--without-gd --with-headers=/tools/include \
+--without-selinux
 
 (>=486)To:
-../glibc-2.3.4-20040701/configure --host="$CHOST" --target="$CHOST" \
---prefix=/tools --disable-profile --enable-add-ons=nptl \
---with-tls --with-__thread --enable-kernel=2.6.0 \
---with-binutils=/tools/bin --without-gd --without-cvs \
---with-headers=/tools/glibc-kernheaders
+../glibc-2.3.5/configure --host="$CHOST" --target="$CHOST" \
+--prefix=/tools --disable-profile --enable-kernel=2.6.0 \
+--with-binutils=/tools/bin --without-gd \
+--with-headers=/tools/include --without-selinux
 
 (386)To:
-../glibc-2.3.4-20040701/configure --host="$CHOST" --target="$CHOST" \
+../glibc-2.3.5/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/tools --disable-profile --enable-add-ons=linuxthreads \
 --with-tls --without-__thread --enable-kernel=2.6.0 \
---with-binutils=/tools/bin --without-gd --without-cvs \
---with-headers=/tools/glibc-kernheaders
+--with-binutils=/tools/bin --without-gd \
+--with-headers=/tools/include --without-selinux
 
+Since glibc needs to be compiled with some level of optimization we need to add an 
+optimization flag to $CFLAGS.  Please change this to suit your needs.
+
+
 And then change:
-make install
+make
 
 To:
-make cross_compiling=no install
+make CFLAGS="$CFLAGS -O2"
 
-Note:	This does not affect cross compiling for sub-architectures (it prevents Glibc to look for a 
-cross compiler and uses the native one).
+And then change:
+make install
 
+To:
+make CFLAGS="$CFLAGS -O2" cross-compiling=no install
+
 2.2.5.	Adjusting the tool-chain
 
 No changes - we are using preconfigured code.
 
-2.2.6.	Tcl-8.4.7
+2.2.6.	Tcl-8.4.11
 
 Change:
 ./configure --prefix=/tools
@@ -222,59 +232,58 @@
 To
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.7.	Expect-5.42.1
+2.2.7.	Expect-5.43.0
 
 Change:
-./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no
+./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no \
+--with-tclinclude=$TCLPATH
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" \
---prefix=/tools --with-tcl=/tools/lib --with-x=no
+--prefix=/tools --with-tcl=/tools/lib --with-x=no \
+--with-tclinclude=$TCLPATH
 
 2.2.8.	DejaGnu-1.4.4
 
-Change:
-./configure --prefix=/tools
+No need to do anything, just installing a script.
 
-To:
-./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
+2.2.9.	GCC-4.0.2- Pass 2
 
-2.2.9.	GCC-3.4.1- Pass 2
-
 Change:
-../gcc-3.4.1/configure --prefix=/tools \
+../gcc-4.0.2/configure --prefix=/tools \
 --libexecdir=/tools/lib --with-local-prefix=/tools \
 --enable-clocale=gnu --enable-shared \
 --enable-threads=posix --enable-__cxa_atexit \
 --enable-languages=c,c++ --disable-libstdcxx-pch
 
 To:
-../gcc-3.4.1/configure --host="$CHOST" --target="$CHOST" \
+../gcc-4.0.2/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/tools --libexecdir=/tools/lib \
 --with-local-prefix=/tools --enable-clocale=gnu \
---enable-shared --enable-threads=posix 
---enable-__cxa_atexit--enable-languages=c,c++ \
+--enable-shared --enable-threads=posix \
+--enable-__cxa_atexit --enable-languages=c,c++ \
 --disable-libstdcxx-pch
 
 And then change:
-Make
+make
 
 To:
 make BOOT_CFLAGS="$CFLAGS" BOOT_CXXFLAGS="$CXXFLAGS"
 
-2.2.10.	Binutils-2.15.91.0.2 - Pass 2
+2.2.10.	Binutils-2.16.1 - Pass 2
 
 Change:
-../binutils-2.15.91.0.2/configure --prefix=/tools \
---enable-shared --with-lib-path=/tools/lib
+../binutils-2.16.1/configure --prefix=/tools \
+--enable-shared --with-lib-path=/tools/lib \
+--disable-nls
 
 To:
-../binutils-2.15.91.0.2/configure --host="$CHOST" --target="$CHOST" --
-prefix=/tools --enable-shared --with-lib-path=/tools/lib
+../binutils-2.16.1/configure --host="$CHOST" --target="$CHOST" \
+--prefix=/tools --enable-shared --with-lib-path=/tools/lib \
+--disable-nls
 
+2.2.11.	Gawk-3.1.5
 
-2.2.11.	Gawk-3.1.4
-
 Change:
 ./configure --prefix=/tools
 
@@ -290,7 +299,7 @@
 DEFAULT_POSIX2_VERSION=199209 ./configure \
 --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.13.	Bzip2-1.0.2
+2.2.13.	Bzip2-1.0.3
 
 Add:
 cp Makefile Makefile.backup &&
@@ -301,6 +310,12 @@
 Makefile-libbz2_so.backup > Makefile-libbz2_so
 
 Change:
+make
+
+To:
+make OPT="$CFLAGS" PREFIX=/tools
+
+Change:
 make PREFIX=/tools install
 	
 To:
@@ -322,7 +337,7 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.16.	Findutils-4.1.20
+2.2.16.	Findutils-4.2.25
 
 Change:
 ./configure --prefix=/tools
@@ -338,17 +353,16 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.18.	Grep-2.5.1
+2.2.18.	Grep-2.5.1a
 
 Change:
-./configure --prefix=/tools \
---disable-perl-regexp --with-included-regex
+./configure --prefix=/tools --disable-perl-regex
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/tools \
---disable-perl-regexp --with-included-regex
+--disable-perl-regexp
 
-2.2.19.	Sed-4.1.2
+2.2.19.	Sed-4.1.4
 
 Change:
 ./configure --prefix=/tools
@@ -356,13 +370,15 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.20.	Gettext-0.14.1
+2.2.20.	Gettext-0.14.5
 
 Change:
-./configure --prefix=/tools
+./configure --prefix=/tools --disable-libasprintf \
+    --without-csharp
 
 To:
-./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
+./configure --host="$CHOST" --target="$CHOST" --prefix=/tools \
+--disable-libasprintf --without-csharp
 
 2.2.21.	Ncurses-5.4
 
@@ -384,7 +400,7 @@
 CPPFLAGS=-D_GNU_SOURCE ./configure \
 --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.23.	Tar-1.14
+2.2.23.	Tar-1.15.1
 
 Change:
 ./configure --prefix=/tools
@@ -392,7 +408,7 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.24.	Texinfo-4.7
+2.2.24.	Texinfo-4.8
 
 Change:
 ./configure --prefix=/tools
@@ -403,12 +419,13 @@
 2.2.25.	Bash-3.0
 
 Change:
-./configure --prefix=/tools
+./configure --prefix=/tools --without-bash-malloc
 
 To:
-./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
+./configure --host="$CHOST" --target="$CHOST" --prefix=/tools \
+--without-bash-malloc
 
-2.2.26.	M4-1.4.2
+2.2.26.	M4-1.4.3
 
 Change:
 ./configure --prefix=/tools
@@ -416,31 +433,15 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
 
-2.2.27.	Bison-1.875a
+2.2.27.	Util-linux-2.12r
 
 Change:
-./configure --prefix=/tools
-
-To:
-./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
-
-2.2.28.	Flex-2.5.31
-
-Change:
-./configure --prefix=/tools
-
-To:
-./configure --host="$CHOST" --target="$CHOST" --prefix=/tools
-
-2.2.29.	Util-linux-2.12b
-
-Change:
 ./configure
 
 To:
 ./configure --host="$CHOST" --target="$CHOST"
 
-2.2.30.	Perl-5.8.5
+2.2.28.	Perl-5.8.7
 
 Change:
 ./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'
@@ -455,34 +456,28 @@
 
 2.3.1.	Entering the chroot environment
 
-Change:
+After:
 chroot "$LFS" /tools/bin/env -i \
 HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
 /tools/bin/bash --login +h
 
-To:
-chroot "$LFS" /tools/bin/env -i \
-$CHOST="<value>" $CFFLAGS="<value>" $CXXFLAGS="<value>" \
-HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
-PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
-/tools/bin/bash --login +h
+Add:
+export CHOST="i386-pc-linux-gnu" &&
+export CFLAGS="-march=i386" &&
+export CXXFLAGS="-march=i386"
 
-Note:	Please replace <value> with the proper strings according to the introduction.
+Note:	Please replace i386 with the proper strings according to the introduction.
 
-2.3.2.	Creating devices with Make_devices-1.2
+2.3.2.	Linux-Libc-Headers-2.6.12.0
 
-No changes - we are just creating the devices files here.
-
-2.3.3.	Linux-Libc-Headers-2.6.8.1
-
 No changes - we are just copying the header files here.
 
-2.3.4.	Man-pages-1.67
+2.3.3.	Man-pages-2.08
 
 No changes - we are just copying the man-pages here.
 
-2.3.5.	Glibc-2.3.4-20040701
+2.3.4.	Glibc-2.3.5
 
 Ok, this one is a bit trickier and what you put here can have some important ramifications 
 later.  If your target machine is a 486 or higher you should follow the (>=486) instructions 
@@ -493,72 +488,76 @@
 
 Change:
 
-../glibc-2.3.4-20040701/configure --prefix=/usr \
---disable-profile --enable-add-ons=nptl --with-tls \
---with-__thread --enable-kernel=2.6.0 --without-cvs \
---libexecdir=/usr/lib/glibc \
---with-headers=/tools/glibc-kernheaders
+../glibc-2.3.5/configure --prefix=/usr \
+--disable-profile --enable-add-ons \
+--enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc
 
-
 (>=486)To:
-../glibc-2.3.4-20040701/configure --host="$CHOST" --target="$CHOST" \
+../glibc-2.3.5/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --disable-profile --enable-add-ons=nptl \
 --with-tls --with-__thread --enable-kernel=2.6.0 \
---without-cvs --libexecdir=/usr/lib/glibc \
---with-headers=/tools/glibc-kernheaders
+--libexecdir=/usr/lib/glibc
 
 (386)To:
-../glibc-2.3.4-20040701/configure --host="$CHOST" --target="$CHOST" \
+../glibc-2.3.5/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --disable-profile --enable-add-ons=linuxthreads \
 --with-tls --without-__thread --enable-kernel=2.6.0 \
---without-cvs --libexecdir=/usr/lib/glibc \
---with-headers=/tools/glibc-kernheaders
+--libexecdir=/usr/lib/glibc
 
+Since glibc needs to be compiled with optimization, we have to modify our $CFLAGS 
+environment variable.  Change this to suite your own needs.
+
 And then change:
+make
+
+To:
+make CFLAGS="$CFLAGS -O2"
+
+And then change:
 make install
 
 To:
-make cross_compiling=no install
+make CFLAGS="$CFLAGS -O2" cross-compiling=no install
 
 Note:	This does not affect cross compiling for sub-architectures (it prevents Glibc to look for a 
 cross compiler and uses the native one).
 
-2.3.6.	Re-adjusting the toolchain
+2.3.5.	Re-adjusting the toolchain
 
 No changes - we are using preconfigured code.
 
-2.3.7.	Binutils-2.15.91.0.2
+2.3.6.	Binutils-2.16.1
 
 Change:
 
-../binutils-2.15.91.0.2/configure --prefix=/usr --enable-shared
+../binutils-2.16.1/configure --prefix=/usr --enable-shared
 
 To:
-../binutils-2.15.91.0.2/configure --host="$CHOST" --target="$CHOST" \
+../binutils-2.16.1/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --enable-shared
 
-2.3.8.	GCC-3.4.1
+2.3.7.	GCC-4.0.2
 
 Change:
-../gcc-3.4.1/configure --prefix=/usr \
+../gcc-4.0.2/configure --prefix=/usr \
 --libexecdir=/usr/lib --enable-shared \
 --enable-threads=posix --enable-__cxa_atexit \
 --enable-clocale=gnu --enable-languages=c,c++
 
 To:
-../gcc-3.4.1/configure --host="$CHOST" --target="$CHOST" \
+../gcc-4.0.2/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr \
 --libexecdir=/usr/lib --enable-shared \
 --enable-threads=posix --enable-__cxa_atexit \
 --enable-clocale=gnu --enable-languages=c,c++
 
 And change:
-Make
+make
 
 To:
 make BOOT_CFLAGS="$CFLAGS" BOOT_CXXFLAGS="$CXXFLAGS"
 
-2.3.9.	Coreutils-5.2.1
+2.3.8.	Coreutils-5.2.1
 
 Change:
 DEFAULT_POSIX2_VERSION=199209 ./configure --prefix=/usr
@@ -567,40 +566,34 @@
 DEFAULT_POSIX2_VERSION=199209 ./configure \
 --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.10.	Zlib-1.2.1
+2.3.9.	Zlib-1.2.3
 
-Change:
-./configure --prefix=/usr --shared
+No need to change anything!
+2.3.10.	Mktemp-1.5
 
-To:
-./configure --host="$CHOST" --target="$CHOST" \
---prefix=/usr --shared
-
-2.3.11.	Mktemp-1.5
-
 Change:
 ./configure --prefix=/usr --with-libc
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" \
---prefix=/usr --shared
+--prefix=/usr --with-libc
 
-2.3.12.	Iana-Etc-1.01
+2.3.11.	Iana-Etc-2.00
 
 No changes - we are just copying files.
 
-2.3.13.	Findutils-4.1.20
+2.3.12.	Findutils-4.2.25
 
 Change:
 ./configure --prefix=/usr --libexecdir=/usr/lib/locate \
---localstatedir=/var/lib/misc
+--localstatedir=/var/lib/locate
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --libexecdir=/usr/lib/locate \
---localstatedir=/var/lib/misc
+--localstatedir=/var/lib/locate
 
-2.3.14.	Gawk-3.1.4
+2.3.13.	Gawk-3.1.5
 
 Change:
 ./configure --prefix=/usr --libexecdir=/usr/lib
@@ -609,7 +602,7 @@
 ./configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --libexecdir=/usr/lib
 
-2.3.15.	Ncurses-5.4
+2.3.14.	Ncurses-5.4
 
 Change:
 ./configure --prefix=/usr --with-shared --without-debug
@@ -618,23 +611,16 @@
 ./configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --with-shared --without-debug
 
-2.3.16.	Readline-5.0
+2.3.15.	Readline-5.0
 
 Change:
-./configure --prefix=/usr -–libdir=/lib
+./configure --prefix=/usr --libdir=/lib
 
 To:
-./configure –prefix=/usr –libdir=/lib --host="$CHOST" --target="$CHOST"
+./configure --prefix=/usr --libdir=/lib --host="$CHOST" --target="$CHOST"
 
-As well you should change
-make SHLIB_XLDFLAGS=-lncurses
+2.3.16.	Vim-6.3
 
-To:
-make SHLIB_XLDFLAGS=-lncurses CFLAGS="$CFLAGS –march=ix86"
-
-Where x is the level of your CPU
-2.3.17.	Vim-6.3
-
 Change:
 ./configure --prefix=/usr --enable-multibyte
 
@@ -643,7 +629,7 @@
 ./configure --host="$CHOST" --target="$CHOST" \
 --enable-multibyte --prefix=/usr
 
-2.3.18.	M4-1.4.2
+2.3.17.	M4-1.4.3
 
 Change:
 ./configure --prefix=/usr
@@ -651,7 +637,7 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.19.	Bison-1.875a
+2.3.18.	Bison-2.1
 
 Change:
 ./configure --prefix=/usr
@@ -659,7 +645,7 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.20.	Less-382
+2.3.19.	Less-382
 
 Change:
 ./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc
@@ -668,7 +654,7 @@
 ./configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --bindir=/bin --sysconfdir=/etc
 
-2.3.21.	Groff-1.19.1
+2.3.20.	Groff-1.19.2
 
 Change:
 PAGE=letter ./configure --prefix=/usr
@@ -677,7 +663,7 @@
 PAGE=letter ./configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr
 
-2.3.22.	Sed-4.1.2
+2.3.21.	Sed-4.1.4
 
 Change:
 ./configure --prefix=/usr --bindir=/bin
@@ -686,7 +672,7 @@
 ./configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --bindir=/bin
 
-2.3.23.	Flex-2.5.31
+2.3.22.	Flex-2.5.31
 
 Change:
 ./configure --prefix=/usr
@@ -694,7 +680,7 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.24.	Gettext-0.14.1
+2.3.23.	Gettext-0.14.5
 
 Change:
 ./configure --prefix=/usr
@@ -702,48 +688,34 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.25.	Inetutils-1.4.2
+2.3.24.	Inetutils-1.4.2
 	
-Change:
-./configure --prefix=/usr --libexecdir=/usr/sbin \
---sysconfdir=/etc --localstatedir=/var \
---disable-logger --disable-syslogd \
---disable-whois --disable-servers
+Assuming CFLAGS are set, don?t change anything.
+2.3.25.	IPRoute2-051007
 
-To:
-./configure --host="$CHOST" --target="$CHOST" \
---prefix=/usr --libexecdir=/usr/sbin \
---sysconfdir=/etc --localstatedir=/var \
---disable-logger --disable-syslogd \
---disable-whois --disable-servers
-
-2.3.26.	Iproute2-2.6.8-040823
-
 After: 
 ./configure
 
 Add:
 mv Makefile Makefile.backup &&
-sed 's/$(CCOPTS)/$(CCOPTS) -march=$(OPT)/' Makefile.backup > Makefile
+sed 's/$(CCOPTS)/$(CCOPTS) $(OPT)/' Makefile.backup > Makefile
 
 Change:
 make SBINDIR=/sbin
 
 To:
-make SBINDIR=/sbin OPT=iX86	
+make SBINDIR=/sbin OPT="$CFLAGS"
 
-Where X is 3,4,5 or 6 (as appropriate)
-2.3.27.	Perl-5.8.5
+2.3.26.	Perl-5.8.7
 
 Change:
 ./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"
 
 To:
-./configure.gnu \
--Dhost="$CHOST" -Dtarget="$CHOST -Darchname="$CHOST" \
---prefix=/usr -Dpager="/bin/less -isR"
+./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" \
+-Dhost="$CHOST" -Dtarget="$CHOST" -Darchname="$CHOST"
 
-2.3.28.	Texinfo-4.7
+2.3.27.	Texinfo-4.8
 
 Change:
 ./configure --prefix=/usr
@@ -751,32 +723,22 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.29.	Autoconf-2.59
+2.3.28.	Autoconf-2.59
 
-Change:
-./configure --prefix=/usr
+Uses Perl and M4 to do stuff so no need to do anything!
+2.3.29.	Automake-1.9.6
 
-To:
-./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
+Uses Perl and M4 to do stuff so no need to do anything!
+2.3.30.	Bash-3.0
 
-2.3.30.	Automake-1.9.1
-
 Change:
-./configure --prefix=/usr
-
-To:
-./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
-
-2.3.31.	Bash-3.0
-
-Change:
 ./configure --prefix=/usr --bindir=/bin
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" \
---prefix=/usr --bindir=/bin
+--prefix=/usr --bindir=/bin --with-bash-malloc --with-installed-readline
 
-2.3.32.	File-4.10
+2.3.31.	File-4.15
 
 Change:
 ./configure --prefix=/usr
@@ -784,7 +746,7 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.33.	Libtool-1.5.6
+2.3.32.	Libtool-1.5.20
 
 Change:
 ./configure --prefix=/usr
@@ -792,14 +754,14 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.34.	Bzip2-1.0.2
+2.3.33.	Bzip2-1.0.3
 
 Add:
 cp Makefile Makefile.backup
 sed -e 's%$(BIGFILES)%$(BIGFILES) $(OPT)%' \
 Makefile.backup > Makefile
 cp Makefile-libbz2_so Makefile-libbz2_so.backup
-sed -e 's%$(BIGFILES)%$(BIGFILES) $(OPT)%' \
+sed -e 's%CFLAGS=-fpic%CFLAGS=$(OPT) -fpic%' \
 Makefile-libbz2_so.backup > Makefile-libbz2_so
 
 Change:
@@ -814,7 +776,7 @@
 To:
 make OPT="$CFLAGS"
 
-2.3.35.	Diffutils-2.8.1
+2.3.34.	Diffutils-2.8.1
 
 Change:
 ./configure --prefix=/usr
@@ -822,7 +784,7 @@
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.36.	Kbd-1.12
+2.3.35.	Kbd-1.12
 
 Change:
 make
@@ -830,18 +792,18 @@
 To:
 make CFLAGS="$CFLAGS"
 
-2.3.37.	E2fsprogs-1.35
+2.3.36.	E2fsprogs-1.38
 
 Change:
 ../e2fsprogs-1.35/configure --prefix=/usr --with-root-prefix="" \
---enable-elf-shlibs
+--enable-elf-shlibs --disable-evms 
 
 To:
 ../e2fsprogs-1.35/configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --with-root-prefix="" \
---enable-elf-shlibs
+--enable-elf-shlibs --disable-evms 
 
-2.3.38.	Grep-2.5.1
+2.3.37.	Grep-2.5.1a
 
 Change:
 ./configure --prefix=/usr --bindir=/bin \
@@ -849,18 +811,16 @@
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" \
---prefix=/usr --bindir=/bin \
---with-included-regex
+--prefix=/usr --bindir=/bin
+2.3.38.	Grub-0.97
 
-2.3.39.	Grub-0.95
-
 Change:
 ./configure --prefix=/usr
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.40.	Gzip-1.3.5
+2.3.39.	Gzip-1.3.5
 
 Change:
 ./configure --prefix=/usr
@@ -868,29 +828,22 @@
 To:
 ./configure --host="$CHOST" --target=$CHOST --prefix=/usr
 
-2.3.41.	Man-1.5o
+2.3.40.	Man-1.6b
 
 Add:
 cp man2html/Makefile.in man2html/Makefile.in.backup
 sed -e "s/CFLAGS = /CFLAGS = $CFLAGS /" \
 man2html/Makefile.in.backup > man2html/Makefile.in
 
-Change:
-./configure -default -confdir=/etc
+2.3.41.	Make-3.80
 
-To:
-./configure --host="$CHOST" --target="$CHOST" \
--default -confdir=/etc
-
-2.3.42.	Make-3.80
-
 Change:
 ./configure --prefix=/usr
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.43.	Module-Init-Tools-3.0
+2.3.42.	Module-Init-Tools-3.1
 
 Change: 
 ./configure --prefix="" --enable-zlib
@@ -898,57 +851,41 @@
 To:
 ./configure --prefix="" --enable-zlib --host="$CHOST" --target="$CHOST"
 
-Add:
-mv Makefile Makefile.backup &&
-sed 's/CFLAGS =/CFLAGS = -march=$(OPT)/' Makefile.backup > Makefile
+2.3.43.	Patch-2.5.4
 
 Change:
-make
-
-To:
-make OPT=$CFLAGS
-
-2.3.44.	Patch-2.5.4
-
-Change:
 CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr
 
 To:
 CPPFLAGS=-D_GNU_SOURCE ./configure \
 --host="$CHOST" --target="$CHOST" --prefix=/usr
 
-2.3.45.	Procps-3.2.3
+2.3.44.	Procps-3.2.5
 
 Change:
 make
 
 To:
-make OPT="$CFLAGS"
+make CFLAGS="$CFLAGS"
 
 Note:	The build process will fail if your $CFLAGS does not contain the -On switch. If that is 
 the case, please use the line
 
-make OPT="$CFLAGS -O2"
+make CFLAGS="$CFLAGS -O2"
 
 instead.
 
-2.3.46.	Psmisc-21.5
+2.3.45.	Psmisc-21.6
 
 Change:
 ./configure --prefix=/usr --exec-prefix=/
 
 To:
 ./configure --host="$CHOST" --target="$CHOST" \
---prefix=/usr --exec-prefix=/
+--prefix=/usr --exec-prefix=""
 
-And change:
-make
+2.3.46.	Shadow-4.0.12
 
-To:
-make AM_CFLAGS="$CFLAGS"
-
-2.3.47.	Shadow-4.0.4.1
-
 Change:
 ./configure --libdir=/usr/lib --enable-shared
 
@@ -956,7 +893,7 @@
 ./configure --host="$CHOST" --target="$CHOST" \
 --libdir=/usr/lib --enable-shared
 
-2.3.48.	Sysklogd-1.4.1
+2.3.47.	Sysklogd-1.4.1
 
 Change:
 make
@@ -964,7 +901,7 @@
 To:
 make RPM_OPT_FLAGS="$CFLAGS"
 
-2.3.49.	Sysvinit-2.85
+2.3.48.	Sysvinit-2.86
 
 Change:
 make -C src
@@ -972,7 +909,7 @@
 To:
 make CFLAGS="-Wall -D_GNU_SOURCE $CFLAGS" -C src
 
-2.3.50.	Tar-1.14
+2.3.49.	Tar-1.15.1
 
 Change:
 ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin
@@ -981,12 +918,12 @@
 ./configure --host="$CHOST" --target="$CHOST" \
 --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin
 
-2.3.51.	Udev-030
+2.3.50.	Udev-070
 
 No changes should be necessary assuming that the CFLAGS is set appropriately as discussed 
 in Section 1.3 About $CFLAGS and $CXXFLAGS
 
-2.3.52.	Util-linux-2.12b
+2.3.51.	Util-linux-2.12r
 
 Change:
 ./configure
@@ -996,13 +933,13 @@
 
 2.4.	Chapter 7: Setting up System Bootscripts
 
-2.4.1.	LFS-Bootscripts-2.2.2
+2.4.1.	LFS-Bootscripts-3.2.1
 
 No changes - we are just copying the scripts here.
 
 2.5.	Chapter 8: Making the LFS system bootable
 
-2.5.1.	Linux-2.6.8.1
+2.5.1.	Linux-2.6.13.1
 
 Select your processor under 'Processor family' in the 'Processor type and features' menu.
 
@@ -1026,6 +963,11 @@
 
 CHANGELOG:
 
+[2005-10-12]
+*	Updated hint to SVN-20051009 (LFS-6.1+)
+*	Fixed multiple typographic errors
+[2005-09-12]
+*	Fixed typographic mistakes
 [2005-06-22]
 *	Updated to LFS-6.0
 *	Added 386 specific commands to glibc




More information about the hints mailing list