Changeset bc2e3fa for BOOK/cross-tools
- Timestamp:
- Dec 7, 2006, 11:23:24 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 1e184e11
- Parents:
- 8473983
- Location:
- BOOK/cross-tools
- Files:
-
- 7 deleted
- 50 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/64/binutils.xml
r8473983 rbc2e3fa 55 55 xpointer="xpointer(//*[@os='i'])"/> 56 56 57 <screen os="bc"><userinput>../binutils-&binutils-version;/configure \ 58 --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} --host=${CLFS_HOST} \ 59 --target=${CLFS_TARGET} --disable-nls --enable-shared \ 60 --enable-64-bit-bfd --disable-multilib --with-lib-path=${CLFS}/tools/lib</userinput></screen> 57 <screen os="ca"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 58 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 59 --disable-nls --enable-shared --enable-64-bit-bfd --disable-multilib</userinput></screen> 61 60 62 61 <variablelist os="bd"> -
BOOK/cross-tools/64/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n2'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n1'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 85 77 --disable-profile --enable-add-ons \ 86 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ 87 --with-binutils=${CLFS}/cross-tools/bin \ 88 --with-headers=${CLFS}/tools/include \ 79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 89 80 --cache-file=config.cache</userinput></screen> 90 81 -
BOOK/cross-tools/alpha/gcc-static.xml
r8473983 rbc2e3fa 76 76 xpointer="xpointer(//*[@os='h'])"/> 77 77 78 <screen><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\78 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 79 --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 80 80 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/alpha/glibc-headers.xml
r8473983 rbc2e3fa 49 49 50 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 51 href="../common/glibc.xml"52 xpointer="xpointer(//*[@os='n1'])"/>53 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"55 href="../common/glibc.xml"56 xpointer="xpointer(//*[@os='n2'])"/>57 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"59 51 href="../../final-system/common/glibc.xml" 60 52 xpointer="xpointer(//*[@os='g'])"/> … … 63 55 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 64 56 --disable-sanity-checks --enable-kernel=2.6.0 \ 65 --with-headers= ${CLFS}/tools/include --cache-file=config.cache \66 --with-binutils= ${CLFS}/cross-tools/${CLFS_TARGET}/bin</userinput></screen>57 --with-headers=/tools/include --cache-file=config.cache \ 58 --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen> 67 59 68 60 <note os="e1"> … … 122 114 123 115 <varlistentry os="ca7"> 124 <term><parameter>--with-headers= ${CLFS}/tools/include</parameter></term>116 <term><parameter>--with-headers=/tools/include</parameter></term> 125 117 <listitem> 126 118 <para>This tells Glibc to compile itself against the headers 127 recently installed to the <filename class="directory"> ${CLFS}/tools</filename>119 recently installed to the <filename class="directory">/tools</filename> 128 120 directory, so that it knows exactly what features the kernel has 129 121 and can optimize itself accordingly.</para> … … 132 124 133 125 <varlistentry os="ca8"> 134 <term><parameter>--with-binutils= ${CLFS}/cross-tools/${CLFS_TARGET}/bin</parameter></term>126 <term><parameter>--with-binutils=/cross-tools/${CLFS_TARGET}/bin</parameter></term> 135 127 <listitem> 136 128 <para>This tells Glibc to use the Binutils for our specific target architecture.</para> … … 148 140 149 141 <para os="cf">First we will copy a common file over to <filename 150 class="directory"> ${CLFS}/tools/include</filename>:</para>142 class="directory">/tools/include</filename>:</para> 151 143 152 <screen os="cg"><userinput>install -dv ${CLFS}/tools/include/bits153 cp -v bits/stdio_lim.h ${CLFS}/tools/include/bits</userinput></screen>144 <screen os="cg"><userinput>install -dv /tools/include/bits 145 cp -v bits/stdio_lim.h /tools/include/bits</userinput></screen> 154 146 155 147 <para os="ch">Now we will create a blank stub file:</para> 156 148 157 <screen os="ci"><userinput>touch ${CLFS}/tools/include/gnu/stubs.h</userinput></screen>149 <screen os="ci"><userinput>touch /tools/include/gnu/stubs.h</userinput></screen> 158 150 159 151 <para os="cj">Another header is needed for NPTL:</para> 160 152 161 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h \ 162 ${CLFS}/tools/include/bits/</userinput></screen> 153 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h /tools/include/bits/</userinput></screen> 163 154 164 155 </sect2> -
BOOK/cross-tools/alpha/glibc.xml
r8473983 rbc2e3fa 76 76 77 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="../common/glibc.xml"79 xpointer="xpointer(//*[@os='n1'])"/>80 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"82 href="../common/glibc.xml"83 xpointer="xpointer(//*[@os='n2'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 78 href="../../final-system/common/glibc.xml" 87 79 xpointer="xpointer(//*[@os='g'])"/> -
BOOK/cross-tools/alpha/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-alpha ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-alpha /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/common/binutils.xml
r8473983 rbc2e3fa 53 53 xpointer="xpointer(//*[@os='i'])"/> 54 54 55 <screen os="bc"><userinput>../binutils-&binutils-version;/configure \ 56 --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} --host=${CLFS_HOST} \ 57 --target=${CLFS_TARGET} --disable-nls --enable-shared \ 58 --disable-multilib --with-lib-path=${CLFS}/tools/lib</userinput></screen> 55 <screen os="bc"><userinput>../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> 59 58 60 59 <variablelist os="bd"> … … 62 61 63 62 <varlistentry os="bd1"> 64 <term><parameter>--prefix= ${CLFS}/cross-tools</parameter></term>63 <term><parameter>--prefix=/cross-tools</parameter></term> 65 64 <listitem> 66 65 <para>This tells the configure script to prepare to install the 67 package in the <filename class="directory"> ${CLFS}/cross-tools</filename>66 package in the <filename class="directory">/cross-tools</filename> 68 67 directory.</para> 69 68 </listitem> … … 71 70 72 71 <varlistentry os="bd2"> 73 <term><parameter>--with-sysroot=${CLFS}</parameter></term>74 <listitem>75 <para>This tells configure that76 <filename class="directory">${CLFS}</filename> is going to be77 the root of our system. It will now use the specified sysroot,78 <filename class="directory">${CLFS}</filename>.</para>79 </listitem>80 </varlistentry>81 82 <varlistentry os="bd3">83 72 <term><parameter>--host=${CLFS_HOST}</parameter></term> 84 73 <listitem> … … 88 77 </varlistentry> 89 78 90 <varlistentry os="bd 4">79 <varlistentry os="bd3"> 91 80 <term><parameter>--target=${CLFS_TARGET}</parameter></term> 92 81 <listitem> 93 82 <para>When used with --host, this creates a cross-architecture 94 83 executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST}.</para> 84 </listitem> 85 </varlistentry> 86 87 <varlistentry os="bd4"> 88 <term><parameter>--with-lib-path=/tools/lib</parameter></term> 89 <listitem> 90 <para>This tells the configure script to specify the library 91 search path during the compilation of Binutils, resulting in 92 <filename class="directory">/tools/lib</filename> being passed 93 to the linker. This prevents the linker from searching through 94 library directories on the host.</para> 95 95 </listitem> 96 96 </varlistentry> … … 144 144 145 145 <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> to 146 <filename class="directory"> ${CLFS}/tools/include</filename> directory:</para>146 <filename class="directory">/tools/include</filename> directory:</para> 147 147 148 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/tools/include</userinput></screen>148 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen> 149 149 150 150 </sect2> -
BOOK/cross-tools/common/glibc.xml
r8473983 rbc2e3fa 61 61 echo "libc_cv_c_cleanup=yes" >> config.cache</userinput></screen> 62 62 63 <para os="n1">The following line needs to be added to64 <filename>configparms</filename> to adjust installation paths.</para>65 66 <screen os="n2"><userinput>echo "install_root=${CLFS}" > configparms</userinput></screen>67 68 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 64 href="../../final-system/common/glibc.xml" … … 76 71 --disable-profile --enable-add-ons \ 77 72 --with-tls --enable-kernel=2.6.0 --with-__thread \ 78 --with-binutils=${CLFS}/cross-tools/bin \ 79 --with-headers=${CLFS}/tools/include \ 73 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 80 74 --cache-file=config.cache</userinput></screen> 81 75 … … 147 141 148 142 <varlistentry os="dg9"> 149 <term><parameter>--with-binutils= ${CLFS}/cross-tools/bin</parameter></term>143 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 150 144 <listitem> 151 145 <para>This tells Glibc to use the Binutils that are specific to -
BOOK/cross-tools/mips-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 18 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="mips/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/glibc.xml"/> -
BOOK/cross-tools/mips/glibc.xml
r8473983 rbc2e3fa 84 84 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml"87 xpointer="xpointer(//*[@os='n1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../common/glibc.xml"91 xpointer="xpointer(//*[@os='n2'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 86 href="../../final-system/common/glibc.xml" 95 87 xpointer="xpointer(//*[@os='g'])"/> -
BOOK/cross-tools/mips/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-mips ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-mips /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/mips64-64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.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="mips/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/glibc.xml"/> -
BOOK/cross-tools/mips64-64/gcc-final.xml
r8473983 rbc2e3fa 83 83 xpointer="xpointer(//*[@os='h'])"/> 84 84 85 <screen os="bf" ><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\85 <screen os="bf" ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 86 86 --target=${CLFS_TARGET} --host=${CLFS_HOST} --with-abi=64 \ 87 87 --with-local-prefix=/tools --disable-nls --enable-shared \ -
BOOK/cross-tools/mips64-64/gcc-static.xml
r8473983 rbc2e3fa 76 76 xpointer="xpointer(//*[@os='h'])"/> 77 77 78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 79 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-mutlilib \ 80 80 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/mips64-64/glibc.xml
r8473983 rbc2e3fa 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='n1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../common/glibc.xml"91 xpointer="xpointer(//*[@os='n2'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../common/glibc.xml"95 87 xpointer="xpointer(//*[@os='g'])"/> 96 88 -
BOOK/cross-tools/mips64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.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="mips/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/glibc.xml"/> -
BOOK/cross-tools/mips64/glibc-64bit.xml
r8473983 rbc2e3fa 84 84 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href=" glibc.xml"86 href="../multilib/glibc-64bit.xml" 87 87 xpointer="xpointer(//*[@os='n1'])"/> 88 88 89 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href=" glibc.xml"90 href="../multilib/glibc-64bit.xml" 91 91 xpointer="xpointer(//*[@os='n2'])"/> 92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../multilib/glibc-64bit.xml"95 xpointer="xpointer(//*[@os='n3'])"/>96 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"98 href="../multilib/glibc-64bit.xml"99 xpointer="xpointer(//*[@os='n4'])"/>100 92 101 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/mips64/glibc-n32.xml
r8473983 rbc2e3fa 83 83 xpointer="xpointer(//*[@os='de'])"/> 84 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="glibc.xml" 87 xpointer="xpointer(//*[@os='n1'])"/> 88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="glibc.xml" 91 xpointer="xpointer(//*[@os='n2'])"/> 92 93 <para os="n3">Tell Glibc to install its 32-bit libraries into <filename 85 <para os="n1">Tell Glibc to install its 32-bit libraries into <filename 94 86 class="directory">/tools/lib32</filename>:</para> 95 87 96 <screen os="n 4"><userinput>echo "slibdir=/tools/lib32" >> configparms</userinput></screen>88 <screen os="n2"><userinput>echo "slibdir=/tools/lib32" >> configparms</userinput></screen> 97 89 98 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 106 98 --disable-profile --enable-add-ons \ 107 99 --with-tls --enable-kernel=2.6.0 --with-__thread \ 108 --with-binutils= ${CLFS}/cross-tools/bin --with-headers=${CLFS}/tools/include \100 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 109 101 --cache-file=config.cache</userinput></screen> 110 102 -
BOOK/cross-tools/mips64/glibc.xml
r8473983 rbc2e3fa 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='n1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../common/glibc.xml"91 xpointer="xpointer(//*[@os='n2'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../common/glibc.xml"95 87 xpointer="xpointer(//*[@os='g'])"/> 96 88 -
BOOK/cross-tools/multilib/binutils.xml
r8473983 rbc2e3fa 63 63 xpointer="xpointer(//*[@os='i'])"/> 64 64 65 <screen os="bc"><userinput>../binutils-&binutils-version;/configure \ 66 --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} --host=${CLFS_HOST} \ 67 --target=${CLFS_TARGET} --disable-nls --enable-shared \ 68 --enable-64-bit-bfd --with-lib-path=${CLFS}/tools/lib</userinput></screen> 65 <screen os="bc"><userinput>../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> 69 68 70 69 <variablelist os="bd"> -
BOOK/cross-tools/multilib/glibc-64bit.xml
r8473983 rbc2e3fa 67 67 xpointer="xpointer(//*[@os='de'])"/> 68 68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/> 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="glibc.xml" 75 xpointer="xpointer(//*[@os='n2'])"/> 76 77 <para os="n3">Tell Glibc to install its 64-bit libraries into <filename 69 <para os="n1">Tell Glibc to install its 64-bit libraries into <filename 78 70 class="directory">/tools/lib64</filename>:</para> 79 71 80 <screen os="n 4"><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen>72 <screen os="n2"><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen> 81 73 82 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 90 82 --disable-profile --enable-add-ons \ 91 83 --with-tls --enable-kernel=2.6.0 --with-__thread \ 92 --with-binutils= ${CLFS}/cross-tools/bin --with-headers=${CLFS}/tools/include \84 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 93 85 --cache-file=config.cache</userinput></screen> 94 86 -
BOOK/cross-tools/multilib/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 85 77 --disable-profile --enable-add-ons \ 86 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ 87 --with-binutils=${CLFS}/cross-tools/bin \ 88 --with-headers=${CLFS}/tools/include \ 79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 89 80 --cache-file=config.cache</userinput></screen> 90 81 -
BOOK/cross-tools/ppc-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/linux-headers.xml"/> 18 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="ppc/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/glibc.xml"/> -
BOOK/cross-tools/ppc/glibc.xml
r8473983 rbc2e3fa 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../common/glibc.xml"71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 70 href="../../final-system/common/glibc.xml" 79 71 xpointer="xpointer(//*[@os='g'])"/> -
BOOK/cross-tools/ppc/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-powerpc ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,asm-ppc,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-powerpc /tools/include/asm 31 cp -av include/{asm-generic,asm-ppc,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/ppc64/glibc-64bit.xml
r8473983 rbc2e3fa 74 74 75 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 76 href=" glibc.xml"76 href="../multilib/glibc-64bit.xml" 77 77 xpointer="xpointer(//*[@os='n1'])"/> 78 78 79 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 80 href=" glibc.xml"80 href="../multilib/glibc-64bit.xml" 81 81 xpointer="xpointer(//*[@os='n2'])"/> 82 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"84 href="../multilib/glibc-64bit.xml"85 xpointer="xpointer(//*[@os='n3'])"/>86 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"88 href="../multilib/glibc-64bit.xml"89 xpointer="xpointer(//*[@os='n4'])"/>90 82 91 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 99 91 --disable-profile --enable-add-ons \ 100 92 --with-tls --enable-kernel=2.6.0 --with-__thread \ 101 --with-binutils= ${CLFS}/cross-tools/bin --with-headers=${CLFS}/tools/include \93 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 102 94 --cache-file=config.cache</userinput></screen> 103 95 -
BOOK/cross-tools/ppc64/glibc.xml
r8473983 rbc2e3fa 86 86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 87 87 href="../common/glibc.xml" 88 xpointer="xpointer(//*[@os='n1'])"/>89 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"91 href="../common/glibc.xml"92 xpointer="xpointer(//*[@os='n2'])"/>93 94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"95 href="../common/glibc.xml"96 88 xpointer="xpointer(//*[@os='g'])"/> 97 89 … … 102 94 --disable-profile --enable-add-ons \ 103 95 --with-tls --enable-kernel=2.6.0 --with-__thread \ 104 --with-binutils=${CLFS}/cross-tools/bin \ 105 --with-headers=${CLFS}/tools/include \ 96 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 106 97 --cache-file=config.cache</userinput></screen> 107 98 -
BOOK/cross-tools/ppc64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-powerpc ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,asm-ppc,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-powerpc /tools/include/asm 31 cp -av include/{asm-generic,asm-ppc,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/sparc-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-headers.xml"/> 18 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="sparc/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/glibc.xml"/> -
BOOK/cross-tools/sparc/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 -
BOOK/cross-tools/sparc/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-sparc ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-sparc /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/sparc64-64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/linux-headers.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/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/glibc.xml"/> -
BOOK/cross-tools/sparc64-64/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 119 111 this with the following:</para> 120 112 121 <screen os="dp"><userinput>mv -v ${CLFS}/tools/include/gnu/stubs{-64,}.h</userinput></screen>113 <screen os="dp"><userinput>mv -v /tools/include/gnu/stubs{-64,}.h</userinput></screen> 122 114 123 115 </sect2> -
BOOK/cross-tools/sparc64-64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-sparc64 ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-sparc64 /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/sparc64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/linux-headers.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/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/glibc.xml"/> -
BOOK/cross-tools/sparc64/glibc-64bit.xml
r8473983 rbc2e3fa 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../ common/glibc.xml"70 href="../multilib/glibc-64bit.xml" 71 71 xpointer="xpointer(//*[@os='n1'])"/> 72 72 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../ common/glibc.xml"74 href="../multilib/glibc-64bit.xml" 75 75 xpointer="xpointer(//*[@os='n2'])"/> 76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../multilib/glibc-64bit.xml"79 xpointer="xpointer(//*[@os='n3'])"/>80 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"82 href="../multilib/glibc-64bit.xml"83 xpointer="xpointer(//*[@os='n4'])"/>84 76 85 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/sparc64/glibc.xml
r8473983 rbc2e3fa 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='n1'])"/>72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/glibc.xml"75 xpointer="xpointer(//*[@os='n2'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/glibc.xml"79 71 xpointer="xpointer(//*[@os='g'])"/> 80 72 … … 85 77 --disable-profile --enable-add-ons \ 86 78 --with-tls --enable-kernel=2.6.0 --with-__thread \ 87 --with-binutils=${CLFS}/cross-tools/bin \ 88 --with-headers=${CLFS}/tools/include \ 79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 89 80 --cache-file=config.cache</userinput></screen> 90 81 -
BOOK/cross-tools/sparc64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/{asm-generic,asm-sparc,asm-sparc64,linux} ${CLFS}/tools/include/31 cp -av include/asm-sparc64-biarch ${CLFS}/tools/include/asm</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/{asm-generic,asm-sparc,asm-sparc64,linux} /tools/include/ 31 cp -av include/asm-sparc64-biarch /tools/include/asm</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/x86-chapter.xml
r8473983 rbc2e3fa 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-headers.xml"/> 18 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="x86/glibc-headers.xml"/>20 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-static.xml"/> 21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/glibc.xml"/> -
BOOK/cross-tools/x86/gcc-final.xml
r8473983 rbc2e3fa 89 89 xpointer="xpointer(//*[@os='h'])"/> 90 90 91 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\91 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 92 92 --target=${CLFS_TARGET} --host=${CLFS_HOST} --disable-multilib \ 93 93 --with-local-prefix=/tools --disable-nls --enable-shared \ -
BOOK/cross-tools/x86/gcc-static.xml
r8473983 rbc2e3fa 52 52 53 53 <screen os="aj"><userinput>cp -v gcc/Makefile.in{,.orig} 54 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 ${CLFS}/tools/include@g" \54 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \ 55 55 gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 56 56 … … 67 67 xpointer="xpointer(//*[@os='h'])"/> 68 68 69 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\69 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 70 70 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \ 71 71 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/x86/linux-headers.xml
r8473983 rbc2e3fa 25 25 <para os="a">Install the header files that are needed for the base build:</para> 26 26 27 <screen><userinput>install -dv ${CLFS}/tools/include28 cp -av include/asm-i386 ${CLFS}/tools/include/asm29 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>27 <screen><userinput>install -dv /tools/include 28 cp -av include/asm-i386 /tools/include/asm 29 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 30 30 31 31 </sect2> -
BOOK/cross-tools/x86/variables.xml
r8473983 rbc2e3fa 20 20 command:</para> 21 21 22 <screen os="b"><userinput>export CLFS_HOST="$( sed 's/-*-[^-]*-/-cross-/' <<< $MACHTYPE)"</userinput></screen>22 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 23 23 24 24 <para os="c">Now you will need to set the target triplet for the target -
BOOK/cross-tools/x86_64-64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/linux-headers.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/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/glibc.xml"/> -
BOOK/cross-tools/x86_64-64/gcc-static.xml
r8473983 rbc2e3fa 74 74 xpointer="xpointer(//*[@os='h'])"/> 75 75 76 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\76 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 77 77 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \ 78 78 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/x86_64-64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/asm-x86_64 ${CLFS}/tools/include/asm31 cp -av include/{asm-generic,linux} ${CLFS}/tools/include/</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/asm-x86_64 /tools/include/asm 31 cp -av include/{asm-generic,linux} /tools/include/</userinput></screen> 32 32 33 33 </sect2> -
BOOK/cross-tools/x86_64-chapter.xml
r8473983 rbc2e3fa 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/linux-headers.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/glibc-headers.xml"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc.xml"/> -
BOOK/cross-tools/x86_64/gcc-final.xml
r8473983 rbc2e3fa 90 90 xpointer="xpointer(//*[@os='h'])"/> 91 91 92 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\92 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 93 93 --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 94 94 --with-local-prefix=/tools --disable-nls --enable-shared \ -
BOOK/cross-tools/x86_64/gcc-static.xml
r8473983 rbc2e3fa 76 76 xpointer="xpointer(//*[@os='h'])"/> 77 77 78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix= ${CLFS}/cross-tools --with-sysroot=${CLFS}\78 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 79 79 --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 80 80 --with-local-prefix=/tools --disable-nls --disable-shared \ -
BOOK/cross-tools/x86_64/linux-headers.xml
r8473983 rbc2e3fa 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen><userinput>install -dv ${CLFS}/tools/include30 cp -av include/{asm-generic,asm-i386,asm-x86_64,linux} ${CLFS}/tools/include/31 cp -av include/asm-x86_64-biarch ${CLFS}/tools/include/asm</userinput></screen>29 <screen><userinput>install -dv /tools/include 30 cp -av include/{asm-generic,asm-i386,asm-x86_64,linux} /tools/include/ 31 cp -av include/asm-x86_64-biarch /tools/include/asm</userinput></screen> 32 32 33 33 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.