|
@@ -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>
|