Changeset c1832da for BOOK/cross-tools/common/gcc-static.xml
- Timestamp:
- Jan 17, 2009, 11:58:17 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:
- 95de45a
- Parents:
- 0defd7d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/gcc-static.xml
r0defd7d rc1832da 45 45 location:</para> 46 46 47 <screen os="ah"><userinput>for file in $(find gcc/config -name linux.h -o -name linux64.h ! -wholename gcc/config/linux.h) 48 do echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib/"' >> ${file} 49 done</userinput></screen> 47 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h 48 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen> 50 49 51 50 <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default … … 74 73 75 74 <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 76 77 78 --disable-multilib--with-local-prefix=/tools --disable-nls \79 --without-headers --with-newlib --disable-decimal-float\80 --with-mpfr=/cross-tools --with-gmp=/cross-tools\81 82 --disable-shared --disable-threads --enable-languages=c</userinput></screen>75 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 76 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 77 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 78 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 79 --without-headers --with-newlib --disable-decimal-float \ 80 --disable-libgomp --disable-libmudflap --disable-libssp \ 81 --disable-threads --enable-languages=c --disable-multilib</userinput></screen> 83 82 84 83 <variablelist os="am">
Note:
See TracChangeset
for help on using the changeset viewer.