diff options
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r-- | chapter05/gcc-inst.xml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index ad9f79f51..f9dbc238a 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -14,16 +14,13 @@ been warned.</para> <para>Install GCC by running the following commands:</para> -<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && -mkdir ../gcc-build && +<para><screen><userinput>mkdir ../gcc-build && cd ../gcc-build && ../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/static install && -ln -s gcc $LFS/static/bin/cc && -rmdir $LFS/static/*-gnu/include && -rmdir $LFS/static/*-gnu</userinput></screen></para> +ln -s gcc $LFS/static/bin/cc</userinput></screen></para> </sect2> |