Changeset c1832da for BOOK/temp-system
- 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/temp-system
- Files:
-
- 7 deleted
- 10 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
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.