[Clfs-commits] commit: r4417 - /trunk/BOOK/cross-tools/common/gcc-static.xml

svn at cross-lfs.org svn at cross-lfs.org
Fri Jan 9 15:50:23 PST 2009


Author: jim
Date: Fri Jan  9 23:50:22 2009
New Revision: 4417

Log:
Sed update to gcc-static sed from Joe

Modified:
    trunk/BOOK/cross-tools/common/gcc-static.xml

Modified: trunk/BOOK/cross-tools/common/gcc-static.xml
==============================================================================
--- trunk/BOOK/cross-tools/common/gcc-static.xml (original)
+++ trunk/BOOK/cross-tools/common/gcc-static.xml Fri Jan  9 23:50:22 2009
@@ -41,11 +41,11 @@
 
 <screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
 
-    <para os="s1">We will change the default location of the Dynamic Linker /tools/lib:</para>
+    <para os="s1">We will change the default location of the Dynamic Linker to /tools/lib:</para>
 
 <screen os="s2"><userinput>for file in $(find gcc/config -name linux64.h -o -name linux.h); do
 cp -v ${file}{,.orig}
-sed -e 's@/lib@/tools/lib at g' ${file}.orig > $file
+sed -e '/GLIBC_DYNAMIC_LINKER/s@"/lib@"/tools/lib@' ${file}.orig > $file
 done"</userinput></screen>
 
     <para os="ag">Change the StartFile Spec to point to the correct library




More information about the Clfs-commits mailing list