aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/readjusting.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml
index eb81b8091..4466b004c 100644
--- a/chapter06/readjusting.xml
+++ b/chapter06/readjusting.xml
@@ -33,7 +33,7 @@ dynamic linker, and so that GCC knows where to find its start files.
A <command>perl</command> command accomplishes this:</para>
<screen><userinput>gcc -dumpspecs | \
-perl -pi -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
+perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
-e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' &gt; \
`dirname $(gcc --print-libgcc-file-name)`/specs
</userinput></screen>