diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/adjusting.xml | 4 | ||||
-rw-r--r-- | chapter06/glibc.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/adjusting.xml b/chapter06/adjusting.xml index 1a58b1dbb..48057ee6c 100644 --- a/chapter06/adjusting.xml +++ b/chapter06/adjusting.xml @@ -30,9 +30,9 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen> so that GCC knows where to find the correct headers and Glibc start files. A <command>sed</command> command accomplishes this:</para> -<screen><userinput>gcc -dumpspecs | sed -e 's@/tools@@g' \ +<screen><userinput>gcc -dumpspecs | sed -e 's@/tools@@g' \ -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ - -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ + -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' & \ `dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen> <para>It is a good idea to visually inspect the specs file to verify the diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 449f3a76a..b3fb46f2e 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -69,7 +69,7 @@ cd ../glibc-build</userinput></screen> <para>Prepare Glibc for compilation:</para> -<screen><userinput remap="configure">../glibc-&glibc-version;/configure \ +<screen><userinput remap="configure">../glibc-&glibc-version;/configure \ --prefix=/usr \ --disable-profile \ --enable-kernel=2.6.25 \ |