diff options
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter06/readjusting.xml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 8714de953..e7c05bb18 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,10 @@ <listitem> <para>[jhuntwork] - Restore the use of *startfile_prefix_spec. </listitem> + <listitem> + <para>[jhuntwork] - Remove a spurious -i from the perl command when + readjusting the toolchain. Thanks Dan Nicholson. + </listitem> </itemizedlist> </listitem> 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;' > \ `dirname $(gcc --print-libgcc-file-name)`/specs </userinput></screen> |