diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-08-26 23:43:23 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-08-26 23:43:23 +0000 |
commit | 6f9d1a9f8e1a372153081cadf0180675474b1e44 (patch) | |
tree | cf8288b41af4cb6ceffc99ec01c9eaa61e730b57 /chapter05/gcc-inst.xml | |
parent | d40a646fd9491d7da0a470684c8726919cd4d817 (diff) |
updated to automake-1.6.3, gcc-3.2, groff-1.18, makedev-1.7, perl-5.8.0, util-linux-2.11u | added gcc-3.2.patch glibc-2.2.5-2.patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r-- | chapter05/gcc-inst.xml | 7 |
1 files changed, 4 insertions, 3 deletions
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> |