aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/adjusting.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/adjusting.xml')
-rw-r--r--chapter06/adjusting.xml4
1 files changed, 2 insertions, 2 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@}' &gt; \
+ -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' &amp; \
`dirname $(gcc --print-libgcc-file-name)`/specs</userinput></screen>
<para>It is a good idea to visually inspect the specs file to verify the