Changeset d04ed61
- Timestamp:
- Jan 9, 2009, 9:12:44 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 1a3453e
- Parents:
- d0845a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/gcc-static.xml
rd0845a5 rd04ed61 42 42 <screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> 43 43 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 48 echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib"\n' >> ${file}</userinput></screen> 49 44 50 <para os="s1">We will change the default location of the Dynamic Linker to /tools/lib:</para> 45 51 … … 48 54 sed -e '/GLIBC_DYNAMIC_LINKER/s@"/lib@"/tools/lib@' ${file}.orig > $file 49 55 done"</userinput></screen> 50 51 <para os="ag">Change the StartFile Spec to point to the correct library52 location:</para>53 54 <screen os="ah"><userinput>for file in $(find gcc/config -name linux.h -o -name linux64.h); do55 echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib"\n' >> ${file}</userinput></screen>56 56 57 57 <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
Note:
See TracChangeset
for help on using the changeset viewer.