diff options
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r-- | chapter05/gcc-inst.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index c79a98ee4..029fa52fe 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -21,12 +21,9 @@ cd ../gcc-build && --disable-nls --disable-shared --enable-threads=posix && make BOOT_LDFLAGS=-static bootstrap && make prefix=$LFS/usr install && -cd $LFS/lib && -ln -sf ../usr/bin/cpp && -cd $LFS/usr/lib && -ln -sf ../bin/cpp && -cd $LFS/usr/bin && -ln -sf gcc cc && +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> |