Changeset c1832da
- 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
- Files:
-
- 1 added
- 13 deleted
- 28 edited
- 7 moved
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"> -
BOOK/cross-tools/mips64-64-chapter.xml
r0defd7d rc1832da 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" 64/binutils.xml"/>23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/gcc-static.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/glibc.xml"/> -
BOOK/cross-tools/mips64-64/gcc-final.xml
r0defd7d rc1832da 75 75 xpointer="xpointer(//*[@os='h'])"/> 76 76 77 <screen os="bf" ><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib \ 78 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} 80 --with-local-prefix=/tools --disable-nls --enable-shared \ 81 --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 82 --enable-languages=c,c++ --enable-__cxa_atexit --disable-multilib \ 83 --enable-c99 --enable-long-long --enable-threads=posix \ 84 --with-abi=64</userinput></screen> 77 <screen os="bf"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 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 --with-abi=64</userinput></screen> 85 84 86 85 <variablelist os="bg"> -
BOOK/cross-tools/mips64-64/gcc-static.xml
r0defd7d rc1832da 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../ x86_64-64/gcc-static.xml"31 href="../64/gcc-static.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 37 37 38 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../ x86_64-64/gcc-static.xml"39 href="../64/gcc-static.xml" 40 40 xpointer="xpointer(//*[@os='ab'])"/> 41 41 … … 85 85 86 86 <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 87 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 88 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 89 --disable-multilib --with-local-prefix=/tools --disable-nls \ 90 --without-headers --with-newlib --disable-decimal-float \ 91 --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 92 --disable-libgomp --disable-libmudflap --disable-libssp \ 93 --disable-shared --disable-threads --enable-languages=c \ 94 --with-abi=64</userinput></screen> 87 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 88 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 89 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 90 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 91 --without-headers --with-newlib --disable-decimal-float \ 92 --disable-libgomp --disable-libmudflap --disable-libssp \ 93 --disable-threads --enable-languages=c --with-abi=64</userinput></screen> 95 94 96 95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/mips64-chapter.xml
r0defd7d rc1832da 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc-static.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-static.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/glibc.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/glibc-n32.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/glibc-64bit.xml"/> 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc-final.xml"/>28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-final.xml"/> 29 29 30 30 </chapter> -
BOOK/cross-tools/multilib/binutils.xml
r0defd7d rc1832da 63 63 xpointer="xpointer(//*[@os='i'])"/> 64 64 65 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure --prefix=/cross-tools \ 66 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 67 --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen> 65 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \ 66 --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 67 --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \ 68 --enable-64-bit-bfd</userinput></screen> 68 69 69 70 <variablelist os="bd"> -
BOOK/cross-tools/multilib/gcc-final.xml
r0defd7d rc1832da 64 64 65 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/gcc-final.xml"67 xpointer="xpointer(//*[@os='bd'])"/>68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"70 href="../common/gcc-final.xml"71 xpointer="xpointer(//*[@os='be'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 66 href="gcc-static.xml" 75 67 xpointer="xpointer(//*[@os='f'])"/> … … 84 76 85 77 <screen os="bf"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 86 ../gcc-&gcc-version;/configure --prefix=/cross-tools --with-sysroot=${CLFS}\87 88 89 --with-mpfr=/cross-tools --with-gmp=/cross-tools\90 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit\91 --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</userinput></screen> 92 84 93 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/multilib/gcc-static.xml
r0defd7d rc1832da 85 85 86 86 <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 87 88 89 90 --without-headers --with-newlib --disable-decimal-float\91 --with-mpfr=/cross-tools --with-gmp=/cross-tools\92 93 --disable-shared--disable-threads --enable-languages=c</userinput></screen>87 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 88 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 89 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 90 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 91 --without-headers --with-newlib --disable-decimal-float \ 92 --disable-libgomp --disable-libmudflap --disable-libssp \ 93 --disable-threads --enable-languages=c</userinput></screen> 94 94 95 95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 101 101 xpointer="xpointer(//*[@os='an'])"/> 102 102 103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 104 href="../common/gcc-static.xml" 105 xpointer="xpointer(//*[@os='ao'])"/> 103 <screen os="s1"><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}"</userinput></screen> 106 104 107 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/native-chapter.xml
r0defd7d rc1832da 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native/variables.xml"/> 16 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native/binutils.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native/gcc-static.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/glibc.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native/gcc-final.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/> 24 25 25 26 </chapter> -
BOOK/cross-tools/native64-chapter.xml
r0defd7d rc1832da 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/linux-headers.xml"/> … … 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native64/binutils.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native64/gcc-static.xml"/>23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-static.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/glibc.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc-64bit.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native64/gcc-final.xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-final.xml"/> 28 28 29 29 </chapter> -
BOOK/cross-tools/ppc64-chapter.xml
r0defd7d rc1832da 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc-static.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-static.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/glibc.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/glibc-64bit.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc-final.xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-final.xml"/> 28 28 29 29 </chapter> -
BOOK/cross-tools/sparc64-64-chapter.xml
r0defd7d rc1832da 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" 64/binutils.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" sparc64-64/gcc-static.xml"/>23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc-static.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/glibc.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/gcc-final.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc-final.xml"/> 27 27 28 28 </chapter> -
BOOK/cross-tools/sparc64-64/gcc-static.xml
r0defd7d rc1832da 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../ x86_64-64/gcc-static.xml"31 href="../64/gcc-static.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 37 37 38 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../ x86_64-64/gcc-static.xml"39 href="../64/gcc-static.xml" 40 40 xpointer="xpointer(//*[@os='ab'])"/> 41 41 … … 96 96 xpointer="xpointer(//*[@os='an'])"/> 97 97 98 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}"</userinput></screen> 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 99 href="../sparc64/gcc-static.xml" 100 xpointer="xpointer(//*[@os='s1'])"/> 99 101 100 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/sparc64-chapter.xml
r0defd7d rc1832da 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc-64bit.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc-final.xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/gcc-final.xml"/> 28 28 29 29 </chapter> -
BOOK/cross-tools/sparc64/gcc-final.xml
r0defd7d rc1832da 64 64 65 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/gcc-final.xml"67 xpointer="xpointer(//*[@os='bd'])"/>68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"70 href="../common/gcc-final.xml"71 xpointer="xpointer(//*[@os='be'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 66 href="gcc-static.xml" 75 67 xpointer="xpointer(//*[@os='f'])"/> … … 83 75 xpointer="xpointer(//*[@os='h'])"/> 84 76 85 <screen os="bf"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 86 ../gcc-&gcc-version;/configure --prefix=/cross-tools --with-sysroot=${CLFS} \ 87 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 88 --disable-multilib --with-local-prefix=/tools --disable-nls \ 89 --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 90 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \ 91 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="../multilib/gcc-final.xml" 79 xpointer="xpointer(//*[@os='h'])"/> 92 80 93 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 99 87 xpointer="xpointer(//*[@os='bh'])"/> 100 88 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../common/gcc-final.xml" 103 xpointer="xpointer(//*[@os='bi'])"/> 89 <screen os="bi"><userinput>make AS_FOR_TARGET="${CLFS_TARGET}-as" \ 90 LD_FOR_TARGET="${CLFS_TARGET}-ld" CFLAGS_FOR_TARGET="${GCCTARGET}"</userinput></screen> 104 91 105 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/sparc64/gcc-static.xml
r0defd7d rc1832da 85 85 86 86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 87 href="../ x86_64/gcc-static.xml"87 href="../multilib/gcc-static.xml" 88 88 xpointer="xpointer(//*[@os='al'])"/> 89 89 … … 96 96 xpointer="xpointer(//*[@os='an'])"/> 97 97 98 <screen ><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}"</userinput></screen>98 <screen os="s1"><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}"</userinput></screen> 99 99 100 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86_64-64-chapter.xml
r0defd7d rc1832da 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" 64/binutils.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64-64/gcc-static.xml"/>23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc-static.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/glibc.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64-64/gcc-final.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc-final.xml"/> 27 27 28 28 </chapter> -
BOOK/cross-tools/x86_64-chapter.xml
r0defd7d rc1832da 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc-static.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-static.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/glibc.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc-64bit.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc-final.xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc-final.xml"/> 28 28 29 29 </chapter> -
BOOK/introduction/common/changelog.xml
r0defd7d rc1832da 36 36 </listitem> 37 37 --> 38 39 <listitem> 40 <para>January 17, 2009</para> 41 <itemizedlist> 42 <listitem> 43 <para>[Jim] - Toolchain Updates from Ryan.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 38 47 39 48 <listitem> -
BOOK/temp-system/64/gcc.xml
r0defd7d rc1832da 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../../cross-tools/ x86_64-64/gcc-static.xml"26 href="../../cross-tools/64/gcc-static.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../../cross-tools/ x86_64-64/gcc-static.xml"30 href="../../cross-tools/64/gcc-static.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../../cross-tools/ x86_64-64/gcc-static.xml"34 href="../../cross-tools/64/gcc-static.xml" 35 35 xpointer="xpointer(//*[@os='aa'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../../cross-tools/ x86_64-64/gcc-static.xml"38 href="../../cross-tools/64/gcc-static.xml" 39 39 xpointer="xpointer(//*[@os='ab'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../../cross-tools/ x86_64-64/gcc-static.xml"42 href="../../cross-tools/64/gcc-static.xml" 43 43 xpointer="xpointer(//*[@os='ac'])"/> 44 44 45 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../../cross-tools/ x86_64-64/gcc-static.xml"46 href="../../cross-tools/64/gcc-static.xml" 47 47 xpointer="xpointer(//*[@os='ad'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"50 href="../common/gcc.xml"51 xpointer="xpointer(//*[@os='cd'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"54 href="../common/gcc.xml"55 xpointer="xpointer(//*[@os='ce'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 62 54 href="../common/gcc.xml" 63 55 xpointer="xpointer(//*[@os='cg'])"/> 64 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"66 href="../x86_64/gcc.xml"67 xpointer="xpointer(//*[@os='da'])"/>68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"70 href="../x86_64/gcc.xml"71 xpointer="xpointer(//*[@os='db'])"/>72 56 73 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 98 82 99 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 href="../ x86_64/gcc.xml"84 href="../multilib/gcc.xml" 101 85 xpointer="xpointer(//*[@os='dd1'])"/> 102 86 -
BOOK/temp-system/common/gcc.xml
r0defd7d rc1832da 47 47 xpointer="xpointer(//*[@os='ad'])"/> 48 48 49 <para os="cd">Now we will change <command>cpp</command>'s search path so it50 won't look in <filename class="directory">/usr/include</filename>:</para>51 52 <screen os="ce"><userinput>cp -v gcc/cppdefault.c{,.orig}53 sed -e '/#define STANDARD_INCLUDE_DIR/s@"/usr/include"@0@g' \54 gcc/cppdefault.c.orig > gcc/cppdefault.c</userinput></screen>55 56 49 <para os="cf">Also, we need to set the directory searched by the fixincludes 57 50 process for system headers, so it won't look at the host's headers:</para> … … 77 70 78 71 <screen os="ck"><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 79 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 80 --with-local-prefix=/tools --enable-long-long --enable-c99 \ 81 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 82 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 72 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 73 --with-sysroot=${CLFS} --with-local-prefix=/tools --enable-long-long \ 74 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 75 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch \ 76 --disable-multilib</userinput></screen> 83 77 84 78 <variablelist os="cl"> -
BOOK/temp-system/mips64-64-chapter.xml
r0defd7d rc1832da 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/zlib.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" mips64-64/gcc.xml"/>20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/ncurses.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/> -
BOOK/temp-system/mips64/gcc.xml
r0defd7d rc1832da 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../../cross-tools/ x86_64/gcc-static.xml"26 href="../../cross-tools/multilib/gcc-static.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../../cross-tools/ x86_64/gcc-static.xml"30 href="../../cross-tools/multilib/gcc-static.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../../cross-tools/ x86_64/gcc-static.xml"34 href="../../cross-tools/multilib/gcc-static.xml" 35 35 xpointer="xpointer(//*[@os='aa'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../../cross-tools/ x86_64/gcc-static.xml"38 href="../../cross-tools/multilib/gcc-static.xml" 39 39 xpointer="xpointer(//*[@os='ab'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../../cross-tools/ x86_64/gcc-static.xml"42 href="../../cross-tools/multilib/gcc-static.xml" 43 43 xpointer="xpointer(//*[@os='ac'])"/> 44 44 45 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../../cross-tools/ x86_64/gcc-static.xml"46 href="../../cross-tools/multilib/gcc-static.xml" 47 47 xpointer="xpointer(//*[@os='ad'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"50 href="../common/gcc.xml"51 xpointer="xpointer(//*[@os='cd'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"54 href="../common/gcc.xml"55 xpointer="xpointer(//*[@os='ce'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 62 54 href="../common/gcc.xml" 63 55 xpointer="xpointer(//*[@os='cg'])"/> 64 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"66 href="../x86_64/gcc.xml"67 xpointer="xpointer(//*[@os='da'])"/>68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"70 href="../x86_64/gcc.xml"71 xpointer="xpointer(//*[@os='db'])"/>72 56 73 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 87 71 xpointer="xpointer(//*[@os='h'])"/> 88 72 89 <screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 90 ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \ 91 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 92 --with-abi=64 --with-local-prefix=/tools --enable-long-long \ 93 --enable-c99 --enable-shared --enable-threads=posix --disable-nls \ 94 --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 73 <screen os="dc"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 74 ../gcc-&gcc-version;/configure --prefix=/tools \ 75 --libdir=/tools/lib64 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 76 --target=${CLFS_TARGET} --with-sysroot=${CLFS} --with-local-prefix=/tools \ 77 --enable-long-long --enable-c99 --enable-shared --enable-threads=posix \ 78 --enable-__cxa_atexit --disable-nls --enable-languages=c,c++ \ 79 --disable-libstdcxx-pch --with-abi=64</userinput></screen> 95 80 96 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../ x86_64/gcc.xml"82 href="../multilib/gcc.xml" 98 83 xpointer="xpointer(//*[@os='dd'])"/> 99 84 -
BOOK/temp-system/multilib/gcc.xml
r0defd7d rc1832da 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../../cross-tools/ x86_64/gcc-static.xml"26 href="../../cross-tools/multilib/gcc-static.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../../cross-tools/ x86_64/gcc-static.xml"30 href="../../cross-tools/multilib/gcc-static.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../../cross-tools/ x86_64/gcc-static.xml"34 href="../../cross-tools/multilib/gcc-static.xml" 35 35 xpointer="xpointer(//*[@os='aa'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../../cross-tools/ x86_64/gcc-static.xml"38 href="../../cross-tools/multilib/gcc-static.xml" 39 39 xpointer="xpointer(//*[@os='ab'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../../cross-tools/ x86_64/gcc-static.xml"42 href="../../cross-tools/multilib/gcc-static.xml" 43 43 xpointer="xpointer(//*[@os='ac'])"/> 44 44 45 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../../cross-tools/ x86_64/gcc-static.xml"46 href="../../cross-tools/multilib/gcc-static.xml" 47 47 xpointer="xpointer(//*[@os='ad'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"50 href="../common/gcc.xml"51 xpointer="xpointer(//*[@os='cd'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"54 href="../common/gcc.xml"55 xpointer="xpointer(//*[@os='ce'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 62 54 href="../common/gcc.xml" 63 55 xpointer="xpointer(//*[@os='cg'])"/> 64 65 <para os="da">When searching for the multilibs, force the build to use the66 results of <option>--print-multi-lib</option> from our cross-compiler,67 not the native compiler <command>gcc</command> builds now:</para>68 69 <screen os="db"><userinput>cp -v gcc/Makefile.in{,.orig2}70 sed -e "/MULTILIBS/s@\$(GCC_FOR_TARGET)@/cross-tools/bin/${CC}@g" \71 gcc/Makefile.in.orig2 > gcc/Makefile.in</userinput></screen>72 56 73 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 88 72 89 73 <screen os="dc"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 90 ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \ 91 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 92 --with-local-prefix=/tools --enable-long-long --enable-c99 \ 93 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 94 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 74 ../gcc-&gcc-version;/configure --prefix=/tools \ 75 --libdir=/tools/lib64 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 76 --target=${CLFS_TARGET} --with-sysroot=${CLFS} --with-local-prefix=/tools \ 77 --enable-long-long --enable-c99 --enable-shared --enable-threads=posix \ 78 --enable-__cxa_atexit --disable-nls --enable-languages=c,c++ \ 79 --disable-libstdcxx-pch</userinput></screen> 95 80 96 81 <variablelist os="dd"> -
BOOK/temp-system/native-chapter.xml
r0defd7d rc1832da 16 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native/mpfr.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native/zlib.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native/binutils.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native/gcc.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native/ncurses.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native/bash.xml"/> -
BOOK/temp-system/native64-chapter.xml
r0defd7d rc1832da 16 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native64/mpfr.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native64/zlib.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native64/binutils.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" native64/gcc.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native64/ncurses.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="native64/bash.xml"/> -
BOOK/temp-system/ppc64-chapter.xml
r0defd7d rc1832da 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/zlib.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/> -
BOOK/temp-system/sparc64-64-chapter.xml
r0defd7d rc1832da 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/zlib.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" sparc64-64/gcc.xml"/>20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/ncurses.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/> -
BOOK/temp-system/sparc64-chapter.xml
r0defd7d rc1832da 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/zlib.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" sparc64/gcc.xml"/>20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/> -
BOOK/temp-system/x86_64-64-chapter.xml
r0defd7d rc1832da 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/zlib.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64-64/gcc.xml"/>20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/gcc.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/ncurses.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/> -
BOOK/temp-system/x86_64-chapter.xml
r0defd7d rc1832da 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/zlib.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/gcc.xml"/>20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gcc.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.