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

svn at cross-lfs.org svn at cross-lfs.org
Fri Jan 9 18:34:23 PST 2009


Author: jim
Date: Sat Jan 10 02:34:22 2009
New Revision: 4419

Log:
Changing of Cross-tools GCC echo

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 Sat Jan 10 02:34:22 2009
@@ -51,12 +51,8 @@
     <para os="ag">Change the StartFile Spec to point to the correct library
     location:</para>
 
-<screen os="ah"><userinput>for file in $(find gcc/config -name linux64.h -o -name linux.h); do
-echo "
-#undef STANDARD_STARTFILE_PREFIX_1
-#undef STANDARD_STARTFILE_PREFIX_2
-#define STANDARD_STARTFILE_PREFIX_1 \"/tools/lib/\"
-#define STANDARD_STARTFILE_PREFIX_2 \"\"" >> ${file}</userinput></screen>
+<screen os="ah"><userinput>for file in $(find gcc/config -name linux.h -o -name linux64.h); do
+echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "\\tools\lib"\n' >> ${file}</userinput></screen>
 
     <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
     include search path to use <filename class="directory">/tools</filename> only:</para>




More information about the Clfs-commits mailing list