aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/gcc-inst.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index ea498ca45..d78298cc4 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -7,6 +7,8 @@ Install GCC by running the following commands:
<para>
<screen>
+<userinput>cd $LFS/usr/src/gcc-&gcc-version; &amp;&amp;</userinput>
+<userinput>patch -Np1 -i ../gcc-&gcc-version;.patch &amp;&amp;</userinput>
<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
<userinput>cd $LFS/usr/src/gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>