diff options
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r-- | chapter05/gcc-inst.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index 36662b95d..b09ee4cdb 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -15,7 +15,8 @@ been warned.</para> <para>Install GCC by running the following commands:</para> <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && -patch -Np1 -i ../gcc-&gcc-version;-nofixincludes.patch && +cp gcc/Makefile.in{,.backup} && +sed '/$(SHELL) .\/fixinc.sh/d' gcc/Makefile.in.backup > gcc/Makefile.in && mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \ |