diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/lockingglibc.xml | 4 | ||||
-rw-r--r-- | chapter05/utillinux-inst.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chapter05/lockingglibc.xml b/chapter05/lockingglibc.xml index 45ab0d683..db2286b49 100644 --- a/chapter05/lockingglibc.xml +++ b/chapter05/lockingglibc.xml @@ -34,7 +34,7 @@ to the new dynamic linker. A simple sed will accomplish this:</para> <screen><userinput>SPECFILE=/tools/lib/gcc-lib/*/*/specs && sed -e 's@/lib/ld-linux.so.2@/tools/lib/ld-linux.so.2@g' \ - $SPECFILE > tempspecfile && + $SPECFILE > tempspecfile && mv -f tempspecfile $SPECFILE && unset SPECFILE</userinput></screen> @@ -63,7 +63,7 @@ following commands to eliminate this possibility:</para> functions (compiling and linking) of the new toolchain are working as expected. For this we are going to perform a simple sanity check:</para> -<screen><userinput>echo 'main(){}' > dummy.c +<screen><userinput>echo 'main(){}' > dummy.c gcc dummy.c readelf -l a.out | grep ': /tools'</userinput></screen> diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml index 7d0cda535..a38cb26c4 100644 --- a/chapter05/utillinux-inst.xml +++ b/chapter05/utillinux-inst.xml @@ -7,7 +7,7 @@ the /tools directory. This is fixed by altering the configure script:</para> <screen><userinput>cp configure configure.backup -sed "s@/usr/include@/tools/include@g" configure.backup > configure</userinput> </screen> +sed "s@/usr/include@/tools/include@g" configure.backup > configure</userinput> </screen> <para>Prepare Util-linux for compilation:</para> |