diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 32a41e1db..74278241e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -104,6 +104,10 @@ first a summary, then a detailed log. +June 7, 2004 [winkie]: Use the +gcc --print-file specs command to determine the location of the +specs file. + June 7, 2004 [winkie]: Updated patch names to match those used by the patches project. diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml index ea14302fa..ae676717e 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -39,7 +39,7 @@ to the new dynamic linker. A simple sed script will accomplish this: -SPECFILE=/tools/lib/gcc/*/*/specs && +SPECFILE=`gcc --print-file specs` && sed -e 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \ $SPECFILE > tempspecfile && mv -f tempspecfile $SPECFILE && diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml index e4c8c46a6..c8c2f4bbd 100644 --- a/chapter06/readjusting.xml +++ b/chapter06/readjusting.xml @@ -52,7 +52,7 @@ this: -SPECFILE=/tools/lib/gcc/*/*/specs && +SPECFILE=`gcc --print-file specs` && sed -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \ $SPECFILE > newspecfile && mv -f newspecfile $SPECFILE &&