diff options
-rw-r--r-- | chapter06/ed-inst.xml | 2 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 3 |
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 &&</userinput> +<para><screen><userinput>cp buf.c buf.c-temp &&</userinput> <userinput>sed 's/int u/int u, sfd/' buf.c-temp | \</userinput> <userinput> sed '/.*\*mktemp.*/d' | \</userinput> <userinput> 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 &&</userinput> <userinput>cd ../gcc-build &&</userinput> <userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput> -<userinput> --enable-shared - --enable-languages=c,c++ &&</userinput> +<userinput> --enable-shared -enable-languages=c,c++ &&</userinput> <userinput>make bootstrap &&</userinput> <userinput>make install</userinput></screen></para> |