Changeset c5146c2 for BOOK/cross-tools/common
- Timestamp:
- Jan 9, 2009, 11:08:33 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 3309623
- Parents:
- bd0e5c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/gcc-static.xml
rbd0e5c0 rc5146c2 42 42 <screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> 43 43 44 <para os="s1">We will change the search locations from usr to tools:</para> 45 46 <screen os="s2"><userinput>for file in $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h); do 47 cp -v ${file}{,.orig} 48 sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' \ 49 -e 's@/usr@/tools@g' ${file}.orig > $file 50 done"</userinput></screen> 51 44 52 <para os="ag">Change the StartFile Spec to point to the correct library 45 53 location:</para> 46 54 47 <screen os="ah"><userinput>echo " 55 <screen os="ah"><userinput>for file in $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h); do 56 echo " 48 57 #undef STANDARD_STARTFILE_PREFIX_1 49 58 #undef STANDARD_STARTFILE_PREFIX_2 50 59 #define STANDARD_STARTFILE_PREFIX_1 \"/tools/lib/\" 51 #define STANDARD_STARTFILE_PREFIX_2 \"\"" >> gcc/config/linux.h</userinput></screen>60 #define STANDARD_STARTFILE_PREFIX_2 \"\"" >> ${file}</userinput></screen> 52 61 53 62 <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
Note:
See TracChangeset
for help on using the changeset viewer.