diff options
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r-- | chapter06/gcc-inst.xml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index ff0db53be..33eaee7f7 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -26,15 +26,12 @@ who actively work on LFS.</para> mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ - --enable-languages=c,c++ --enable-threads=posix && + --enable-languages=c,c++ --enable-threads=posix && make bootstrap && make install && -cd /lib && -ln -sf ../usr/bin/cpp && -cd /usr/lib && -ln -sf ../bin/cpp && -cd /usr/bin && -ln -sf gcc cc && +ln -sf ../usr/bin/cpp /lib && +ln -sf ../bin/cpp /usr/lib && +ln -sf gcc /usr/bin/cc && rmdir /usr/*-gnu/include && rmdir /usr/*-gnu</userinput></screen></para> |