diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-25 00:19:47 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-25 00:19:47 +0000 |
commit | 5e2cb652195321c7f63b5d22077e583b75118178 (patch) | |
tree | d64a6d22aa92dfd27bfd0df8a9b973c5068ab16a /chapter05/gcc-inst.xml | |
parent | 1f61f4234c1bb6da0c31e9370d76dc78c975ebba (diff) |
first set of commits for keep-chap5-chap6-seperate
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1896 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r-- | chapter05/gcc-inst.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index e27dd0e95..ad9f79f51 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -17,15 +17,13 @@ been warned.</para> <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && mkdir ../gcc-build && cd ../gcc-build && -../gcc-&gcc-version;/configure --prefix=/usr --enable-languages=c,c++ \ +../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c,c++ \ --disable-nls --disable-shared --enable-threads=posix && make BOOT_LDFLAGS=-static bootstrap && -make prefix=$LFS/usr install && -ln -sf ../usr/bin/cpp $LFS/lib && -ln -sf ../bin/cpp $LFS/usr/lib && -ln -sf gcc $LFS/usr/bin/cc && -rmdir $LFS/usr/*-gnu/include && -rmdir $LFS/usr/*-gnu</userinput></screen></para> +make prefix=$LFS/static install && +ln -s gcc $LFS/static/bin/cc && +rmdir $LFS/static/*-gnu/include && +rmdir $LFS/static/*-gnu</userinput></screen></para> </sect2> |