Ignore:
Timestamp:
Jan 9, 2009, 9:12:44 PM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
1a3453e
Parents:
d0845a5
Message:

Fixed typo in gcc-static sed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/gcc-static.xml

    rd0845a5 rd04ed61  
    4242<screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
    4343
     44    <para os="ag">Change the StartFile Spec to point to the correct library
     45    location:</para>
     46
     47<screen os="ah"><userinput>for file in $(find gcc/config -name linux.h -o -name linux64.h); do
     48echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib"\n' &gt;&gt; ${file}</userinput></screen>
     49
    4450    <para os="s1">We will change the default location of the Dynamic Linker to /tools/lib:</para>
    4551
     
    4854sed -e '/GLIBC_DYNAMIC_LINKER/s@"/lib@"/tools/lib@' ${file}.orig > $file
    4955done"</userinput></screen>
    50 
    51     <para os="ag">Change the StartFile Spec to point to the correct library
    52     location:</para>
    53 
    54 <screen os="ah"><userinput>for file in $(find gcc/config -name linux.h -o -name linux64.h); do
    55 echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib"\n' &gt;&gt; ${file}</userinput></screen>
    5656
    5757    <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
Note: See TracChangeset for help on using the changeset viewer.