mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Replaced nofixincludes patch (it doesn't apply cleanly) with a (more appropriate) sed command.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2152 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
4a19a8d141
commit
b8e6552e6f
@ -61,6 +61,10 @@
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
|
||||||
|
<listitem><para>September 29th, 2002 [timothy]: Chapter 05 - GCC: Replaced
|
||||||
|
the nofixincludes patch (because it doesn't apply cleanly) with a sed
|
||||||
|
command.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>September 28th, 2002 [gerard]: Chapter 05 - GCC: Added the
|
<listitem><para>September 28th, 2002 [gerard]: Chapter 05 - GCC: Added the
|
||||||
nofixincludes patch to prevent that script from running in Chapter
|
nofixincludes patch to prevent that script from running in Chapter
|
||||||
05. It should run in Chapter 06, so we need it to be a seperate
|
05. It should run in Chapter 06, so we need it to be a seperate
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
GCC Patch (&gcc-patch-version;) - &gcc-patch-size;:
|
GCC Patch (&gcc-patch-version;) - &gcc-patch-size;:
|
||||||
<ulink url="&ftp;/gcc-&gcc-patch-version;.patch.bz2"/>
|
<ulink url="&ftp;/gcc-&gcc-patch-version;.patch.bz2"/>
|
||||||
<ulink url="&http;/gcc-&gcc-patch-version;.patch.bz2"/>
|
<ulink url="&http;/gcc-&gcc-patch-version;.patch.bz2"/>
|
||||||
|
|
||||||
GCC nofixincludes Patch:
|
|
||||||
<ulink url="&ftp;/gcc-&gcc-version;-nofixincludes.patch.bz2"/>
|
|
||||||
<ulink url="&http;/gcc-&gcc-version;-nofixincludes.patch.bz2"/>
|
|
||||||
|
@ -6,8 +6,8 @@ This patch fixes a few bugs. In particular it contains the "copy fix" and
|
|||||||
"var fix" documented at
|
"var fix" documented at
|
||||||
<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
|
<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
|
||||||
|
|
||||||
<para><userinput>patch -Np1 -i ../gcc-&gcc-version;-nofixincludes.patch:</userinput>
|
<para><userinput>sed '/$(SHELL) .\/fixinc.sh/d':</userinput>
|
||||||
This patch prevents the fixincludes script from running.</para>
|
This prevents the fixincludes script from running.</para>
|
||||||
|
|
||||||
<para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard
|
<para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard
|
||||||
codes some paths while compiling and so we need to pass /static as the
|
codes some paths while compiling and so we need to pass /static as the
|
||||||
|
@ -15,7 +15,8 @@ been warned.</para>
|
|||||||
<para>Install GCC by running the following commands:</para>
|
<para>Install GCC by running the following commands:</para>
|
||||||
|
|
||||||
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &&
|
<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 &&
|
mkdir ../gcc-build &&
|
||||||
cd ../gcc-build &&
|
cd ../gcc-build &&
|
||||||
../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
|
../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
|
||||||
|
Loading…
Reference in New Issue
Block a user