Changeset c1832da for BOOK/cross-tools/common
- 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
- Location:
- BOOK/cross-tools/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
r0defd7d rc1832da 53 53 xpointer="xpointer(//*[@os='i'])"/> 54 54 55 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure --prefix=/cross-tools \ 56 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 57 --disable-nls --enable-shared --disable-multilib</userinput></screen> 55 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \ 56 --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 57 --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \ 58 --enable-64-bit-bfd --disable-multilib</userinput></screen> 58 59 59 60 <variablelist os="bd"> -
BOOK/cross-tools/common/gcc-final.xml
r0defd7d rc1832da 63 63 xpointer="xpointer(//*[@os='aj'])"/> 64 64 65 <para os="bd">Finally, disable <option>-B</option> in <filename>configure</filename>,66 so it doesn't pick up the host's header files:</para>67 68 <screen os="be"><userinput>cp -v configure{,.orig}69 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig > \70 configure</userinput></screen>71 72 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 66 href="gcc-static.xml" … … 83 76 84 77 <screen os="bf"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 85 86 87 --disable-multilib--with-local-prefix=/tools --disable-nls \88 --with-mpfr=/cross-tools --with-gmp=/cross-tools\89 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit\90 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>78 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 80 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 81 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \ 82 --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \ 83 --enable-long-long --enable-threads=posix --disable-multilib</userinput></screen> 91 84 92 85 <variablelist os="bg"> -
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.