From 40b88c2601f0396b80f18e2d28d6031c5a96f35d Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Sat, 30 Aug 2003 02:33:08 +0000 Subject: Updated GCC to 3.3.1 with Zack's mini-hint git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2700 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/lockingglibc.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'chapter05/lockingglibc.xml') diff --git a/chapter05/lockingglibc.xml b/chapter05/lockingglibc.xml index 3c21e8c97..18cc6d826 100644 --- a/chapter05/lockingglibc.xml +++ b/chapter05/lockingglibc.xml @@ -35,6 +35,18 @@ unset SPECFILE it all in. Or you can edit the specs file by hand if you want to: just replace "/lib/ld-linux.so.2" with "/stage1/lib/ld-linux.so.2". +Also, because we allowed GCC's "Fixincludes" script to modify our host's +header files (and this was necessary because of improper use of the __thread +keyword in some older software), we want to get rid of those modified header +files, and replace them with pristine ones. + +GCCDIR=/stage1/lib/gcc-lib/*/* +rm -rf $GCCDIR/include/* +cp $GCCDIR/install-tools/include/* $GCCDIR/include +cp $GCCDIR/install-tools/gsyslimits.h \ + $GCCDIR/include/syslimits.h +unset GCCDIR + This completes the installation of the self-contained toolchain, which can now be used to build the rest of the temporary tools. -- cgit v1.2.3-54-g00ecf