aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>