aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-09 18:40:39 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-09 18:40:39 +0000
commitfa4008a8ebed7f60184eab3ed40082cb96f946af (patch)
treedcb04be72c89efb8016c712a373f32419f0fffb5
parent4bd86d48fced6c45769b62f8ae974662e7fdb0d6 (diff)
fixed typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@955 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/ed-inst.xml2
-rw-r--r--chapter06/gcc-inst.xml3
2 files changed, 2 insertions, 3 deletions
diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml
index ced1cb48d..41f2545bc 100644
--- a/chapter06/ed-inst.xml
+++ b/chapter06/ed-inst.xml
@@ -3,7 +3,7 @@
<para>Install Ed by running the following commands:</para>
-<para><screen><userinput>cp buf.c buf.c-backup &amp;&amp;</userinput>
+<para><screen><userinput>cp buf.c buf.c-temp &amp;&amp;</userinput>
<userinput>sed 's/int u/int u, sfd/' buf.c-temp | \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;sed '/.*\*mktemp.*/d' | \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;sed 's/.*if (mktemp.*/ sfd = mkstemp(sfn);\</userinput>
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index e76d3ee8b..488544d18 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -15,8 +15,7 @@ who actively work on LFS.</para>
<userinput>mkdir ../gcc-build &amp;&amp;</userinput>
<userinput>cd ../gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--enable-shared
- --enable-languages=c,c++ &amp;&amp;</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--enable-shared -enable-languages=c,c++ &amp;&amp;</userinput>
<userinput>make bootstrap &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>