Changeset 026bb5d for BOOK/cross-tools
- Timestamp:
- Dec 18, 2013, 1:04:00 AM (11 years ago)
- Children:
- f975b3a
- Parents:
- 1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK/cross-tools
- Files:
-
- 13 added
- 1 deleted
- 60 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 59 59 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 60 60 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 61 --disable-profile --enable-add-ons \ 62 --with-tls --enable-kernel=2.6.0 --with-__thread \ 61 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 63 62 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 64 -- cache-file=config.cache</userinput></screen>63 --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> 65 64 66 65 <variablelist os="dg"> … … 107 106 xpointer="xpointer(//*[@os='dg10'])"/> 108 107 108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 109 href="../common/eglibc.xml" 110 xpointer="xpointer(//*[@os='dg11'])"/> 111 109 112 </variablelist> 110 113 -
BOOK/cross-tools/64/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 46 46 href="gcc-static.xml" 47 47 xpointer="xpointer(//*[@os='ah'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"50 href="gcc-static.xml"51 xpointer="xpointer(//*[@os='ai'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"54 href="gcc-static.xml"55 xpointer="xpointer(//*[@os='aj'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/64/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 45 45 href="../common/gcc-static.xml" 46 46 xpointer="xpointer(//*[@os='ah'])"/> 47 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"49 href="../common/gcc-static.xml"50 xpointer="xpointer(//*[@os='ai'])"/>51 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"53 href="../common/gcc-static.xml"54 xpointer="xpointer(//*[@os='aj'])"/>55 47 56 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 98 90 xpointer="xpointer(//*[@os='aq'])"/> 99 91 92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 93 href="../common/gcc-static.xml" 94 xpointer="xpointer(//*[@os='ar'])"/> 95 100 96 </sect2> 101 97 -
BOOK/cross-tools/alpha-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/variables.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/linux-headers.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/eglibc-headers.xml"/> -
BOOK/cross-tools/alpha/eglibc-headers.xml
r1c9985f r026bb5d 23 23 <title>Installation of EGLIBC Headers</title> 24 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/eglibc.xml" 27 xpointer="xpointer(//*[@os='da'])"/> 28 25 29 <para os="s1">EGLIBC's <filename>configure</filename> script checks the 26 30 version of GCC, and will fail if it's less than 3.4. The next EGLIBC build … … 33 37 <screen os="s2"><userinput>cp -v configure{,.orig} 34 38 sed -e 's/3.4/3.[0-9]/g' configure.orig > configure</userinput></screen> 39 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 41 href="../../final-system/common/eglibc.xml" 42 xpointer="xpointer(//*[@os='s1'])"/> 43 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 45 href="../../final-system/common/eglibc.xml" 46 xpointer="xpointer(//*[@os='s2'])"/> 35 47 36 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 61 73 <screen os="s3"><userinput>CC=gcc ../eglibc-&eglibc-version;/configure --prefix=/tools \ 62 74 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 63 --disable-sanity-checks --enable-kernel=2.6.0 \ 64 --with-headers=/tools/include --cache-file=config.cache \ 75 --disable-sanity-checks --enable-kernel=2.6.32 \ 76 --with-headers=/tools/include --enable-obsolete-rpc \ 77 --cache-file=config.cache \ 65 78 --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen> 66 79 … … 113 126 114 127 <varlistentry os="ca6"> 115 <term><parameter>--enable-kernel=2.6. 0</parameter></term>128 <term><parameter>--enable-kernel=2.6.32</parameter></term> 116 129 <listitem> 117 130 <para>This tells EGLIBC to compile the library with support 118 for 2.6. xLinux kernels.</para>131 for 2.6.32 and later Linux kernels.</para> 119 132 </listitem> 120 133 </varlistentry> -
BOOK/cross-tools/alpha/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/alpha/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=alpha headers_check 36 make ARCH=alpha INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=alpha INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <listitem> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/common/binutils-32.xml
r1c9985f r026bb5d 28 28 enable.</para> 29 29 30 <!-- Branch update patch area 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 32 href="../../final-system/common/binutils.xml" 33 xpointer="xpointer(//*[@os='p1'])"/> 34 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../../final-system/common/binutils.xml" 37 xpointer="xpointer(//*[@os='p2'])"/> 38 --> 30 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 40 href="../../final-system/common/binutils.xml" … … 40 49 xpointer="xpointer(//*[@os='i'])"/> 41 50 42 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils- version;/configure \51 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \ 43 52 --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 44 --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared\45 --disable- multilib</userinput></screen>53 --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \ 54 --disable-static --disable-multilib</userinput></screen> 46 55 47 56 <variablelist os="bd"> 48 <title>The meaning of the configure options:</title>57 <title>The meaning of the new configure options:</title> 49 58 50 59 <varlistentry os="bd1"> 51 <term><parameter> --prefix=/cross-tools</parameter></term>60 <term><parameter>AR=ar AS=as</parameter></term> 52 61 <listitem> 53 <para>This tells the configure script to prepare to install the54 package in the <filename class="directory">/cross-tools</filename>55 directory.</para>62 <para>This prevents Binutils from compiling with ${CLFS_HOST}-ar 63 and ${CLFS_HOST}-as as they are provided by this package and therefore 64 not installed yet.</para> 56 65 </listitem> 57 66 </varlistentry> … … 93 102 94 103 <varlistentry os="bd6"> 95 <term><parameter>--enable-shared</parameter></term>96 <listitem>97 <para>Enable the creation of the shared libraries.</para>98 </listitem>99 </varlistentry>100 101 <varlistentry os="bd7">102 104 <term><parameter>--disable-multilib</parameter></term> 103 105 <listitem> … … 134 136 <filename class="directory">/tools/include</filename> directory:</para> 135 137 136 <screen os="bk"><userinput>cp -v ../binutils-&binutils- version;/include/libiberty.h /tools/include</userinput></screen>138 <screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen> 137 139 138 140 </sect2> -
BOOK/cross-tools/common/binutils.xml
r1c9985f r026bb5d 28 28 enable.</para> 29 29 30 <!-- Branch update patch area 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 32 href="../../final-system/common/binutils.xml" 33 xpointer="xpointer(//*[@os='p1'])"/> 34 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../../final-system/common/binutils.xml" 37 xpointer="xpointer(//*[@os='p2'])"/> 38 --> 30 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 40 href="../../final-system/common/binutils.xml" … … 40 49 xpointer="xpointer(//*[@os='i'])"/> 41 50 42 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils- version;/configure \51 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \ 43 52 --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 44 --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared\45 -- enable-64-bit-bfd --disable-multilib</userinput></screen>53 --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \ 54 --disable-static --enable-64-bit-bfd --disable-multilib</userinput></screen> 46 55 47 56 <variablelist os="bd"> 48 <title>The meaning of the configure options:</title>57 <title>The meaning of the new configure options:</title> 49 58 50 59 <varlistentry os="bd1"> 51 <term><parameter> --prefix=/cross-tools</parameter></term>60 <term><parameter>AR=ar AS=as</parameter></term> 52 61 <listitem> 53 <para>This tells the configure script to prepare to install the54 package in the <filename class="directory">/cross-tools</filename>55 directory.</para>62 <para>This prevents Binutils from compiling with ${CLFS_HOST}-ar 63 and ${CLFS_HOST}-as as they are provided by this package and therefore 64 not installed yet.</para> 56 65 </listitem> 57 66 </varlistentry> … … 93 102 94 103 <varlistentry os="bd6"> 95 <term><parameter>--enable-shared</parameter></term>96 <listitem>97 <para>Enable the creation of the shared libraries.</para>98 </listitem>99 </varlistentry>100 101 <varlistentry os="bd7">102 104 <term><parameter>--disable-multilib</parameter></term> 103 105 <listitem> … … 107 109 </varlistentry> 108 110 109 <varlistentry os="bd 8">111 <varlistentry os="bd7"> 110 112 <term><parameter>--enable-64-bit-bfd</parameter></term> 111 113 <listitem> … … 141 143 <filename class="directory">/tools/include</filename> directory:</para> 142 144 143 <screen os="bk"><userinput>cp -v ../binutils-&binutils- version;/include/libiberty.h /tools/include</userinput></screen>145 <screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen> 144 146 145 147 </sect2> -
BOOK/cross-tools/common/cloog.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- ppl" role="wrap">9 <?dbhtml filename=" ppl.html"?>8 <sect1 id="ch-cross-tools-cloog" role="wrap"> 9 <?dbhtml filename="cloog.html"?> 10 10 11 <title> PPL-&ppl-version;</title>11 <title>CLooG-&cloog-version;</title> 12 12 13 <indexterm zone="ch-cross-tools- ppl">14 <primary sortas="a- PPL">PPL</primary>13 <indexterm zone="ch-cross-tools-cloog"> 14 <primary sortas="a-CLooG">CLooG</primary> 15 15 <secondary>cross-tools</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/common/ ppl.xml"19 href="../../final-system/common/cloog.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of PPL</title>23 <title>Installation of CLooG</title> 24 24 25 <para os="a">Prepare PPLfor compilation:</para>25 <para os="a">Prepare CLooG for compilation:</para> 26 26 27 <screen os="b"><userinput>CPPFLAGS="-I/cross-tools/include" \ 28 LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 29 ./configure --prefix=/cross-tools --enable-shared \ 30 --enable-interfaces="c,cxx" --disable-optimization \ 31 --with-libgmp-prefix=/cross-tools \ 32 --with-libgmpxx-prefix=/cross-tools</userinput></screen> 27 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 28 ./configure --prefix=/cross-tools --disable-static \ 29 --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools</userinput></screen> 33 30 34 31 <para os="c">Compile the package:</para> … … 46 43 47 44 <para>Details on this package are located in <xref 48 linkend="contents- ppl" role="."/></para>45 linkend="contents-cloog" role="."/></para> 49 46 50 47 </sect2> -
BOOK/cross-tools/common/eglibc.xml
r1c9985f r026bb5d 27 27 risk.</para> 28 28 29 <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para> 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 30 32 31 <screen os="dc"><userinput>cp -v Makeconfig{,.orig} 32 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen> 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 33 36 34 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 40 43 xpointer="xpointer(//*[@os='f'])"/> 41 44 42 <para os="dd"> The following lines need to be added to43 <filename>config.cache</filename> for EGLIBC to support NPTL:</para>45 <para os="dd">Add the following to <filename>config.cache</filename> 46 to disable ssp when building EGLIBC:</para> 44 47 45 <screen os="de"><userinput>cat > config.cache << "EOF" 46 libc_cv_forced_unwind=yes 47 libc_cv_c_cleanup=yes 48 libc_cv_gnu89_inline=yes 49 libc_cv_ssp=no 50 EOF</userinput></screen> 48 <screen os="de"><userinput>echo "libc_cv_ssp=no" > config.cache</userinput></screen> 51 49 52 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 58 56 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 59 57 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 60 --disable-profile -- enable-add-ons\61 --with- tls --enable-kernel=2.6.0 --with-__thread\62 --with- binutils=/cross-tools/bin --with-headers=/tools/include\58 --disable-profile --with-tls --enable-kernel=2.6.32 \ 59 --with-__thread --with-binutils=/cross-tools/bin \ 60 --with-headers=/tools/include --enable-obsolete-rpc \ 63 61 --cache-file=config.cache</userinput></screen> 64 62 … … 107 105 108 106 <varlistentry os="dg6"> 109 <term><parameter>--enable-add-ons</parameter></term>110 <listitem>111 <para>This tells EGLIBC to utilize all add-ons that are112 available.</para>113 </listitem>114 </varlistentry>115 116 <varlistentry os="dg7">117 107 <term><parameter>--with-tls</parameter></term> 118 108 <listitem> … … 121 111 </varlistentry> 122 112 123 <varlistentry os="dg 8">124 <term><parameter>--enable-kernel=2.6. 0</parameter></term>113 <varlistentry os="dg7"> 114 <term><parameter>--enable-kernel=2.6.32</parameter></term> 125 115 <listitem> 126 116 <para>This tells EGLIBC to compile the library with support 127 for 2.6. xLinux kernels.</para>117 for 2.6.32 and later Linux kernels.</para> 128 118 </listitem> 129 119 </varlistentry> 130 120 131 <varlistentry os="dg 9">121 <varlistentry os="dg8"> 132 122 <term><parameter>--with-__thread</parameter></term> 133 123 <listitem> … … 137 127 </varlistentry> 138 128 139 <varlistentry os="dg 10">129 <varlistentry os="dg9"> 140 130 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 141 131 <listitem> … … 145 135 </varlistentry> 146 136 147 <varlistentry os="dg1 1">137 <varlistentry os="dg10"> 148 138 <term><parameter>--with-headers=/tools/include</parameter></term> 149 139 <listitem> … … 155 145 </varlistentry> 156 146 157 <varlistentry os="dg1 2">147 <varlistentry os="dg11"> 158 148 <term><parameter>--cache-file=config.cache</parameter></term> 159 149 <listitem> -
BOOK/cross-tools/common/file.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools-file" >8 <sect1 id="ch-cross-tools-file" role="wrap"> 9 9 <?dbhtml filename="file.html"?> 10 10 … … 25 25 <para>Prepare File for compilation:</para> 26 26 27 <screen><userinput>./configure --prefix=/cross-tools</userinput></screen> 27 <screen><userinput>./configure --prefix=/cross-tools --disable-static</userinput></screen> 28 29 <variablelist> 30 <title>The meaning of the configure options:</title> 31 32 <varlistentry> 33 <term><parameter>--prefix=/cross-tools</parameter></term> 34 <listitem> 35 <para>This tells the configure script to prepare to install the 36 package in the <filename class="directory">/cross-tools</filename> 37 directory.</para> 38 </listitem> 39 </varlistentry> 40 41 <varlistentry> 42 <term><parameter>--disable-static</parameter></term> 43 <listitem> 44 <para>This tells the File package not to compile or install static 45 libraries, which are not needed for the Cross-Tools</para> 46 </listitem> 47 </varlistentry> 48 49 </variablelist> 28 50 29 51 <para>Compile the package:</para> -
BOOK/cross-tools/common/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 49 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 50 href="gcc-static.xml" 51 xpointer="xpointer(//*[@os='ai'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"54 href="gcc-static.xml"55 xpointer="xpointer(//*[@os='aj'])"/>56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"58 href="gcc-static.xml"59 51 xpointer="xpointer(//*[@os='f'])"/> 60 52 … … 70 62 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 71 63 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 72 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 73 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \ 74 --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \ 75 --with-ppl=/cross-tools --with-cloog=/cross-tools \ 76 --enable-long-long --enable-threads=posix --disable-multilib</userinput></screen> 64 --with-sysroot=${CLFS} --with-local-prefix=/tools \ 65 --with-native-system-header-dir=/tools/include --disable-nls \ 66 --enable-shared --disable-static --enable-languages=c,c++ \ 67 --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \ 68 --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \ 69 --with-gmp=/cross-tools --with-cloog=/cross-tools \ 70 --enable-cloog-backend=isl --with-isl=/cross-tools \ 71 --disable-isl-version-check --with-system-zlib --enable-checking=release \ 72 --enable-libstdcxx-time</userinput></screen> 77 73 78 74 <variablelist os="bg"> -
BOOK/cross-tools/common/gcc-static.xml
r1c9985f r026bb5d 24 24 and no Threads</title> 25 25 26 <para os="p1">The following patch contains a number of updates to the 27 &gcc-version; branch by the GCC developers:</para> 28 29 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../../final-system/common/gcc.xml" 28 xpointer="xpointer(//*[@os='p1'])"/> 29 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../../final-system/common/gcc.xml" 32 xpointer="xpointer(//*[@os='p2'])"/> 30 33 31 34 <para os="aa">Make a couple of essential adjustments to the … … 35 38 <screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen> 36 39 37 <para os="ag">Change the StartFile Spec and Standard Include Dir so that 38 GCC looks in <filename class="directory">/tools</filename>:</para> 39 40 <screen os="ah"><userinput>echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR "/tools/include/"\n\n' >> gcc/config/linux.h 41 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h 40 <para os="ag">Change the StartFile Spec so that GCC looks in 41 <filename class="directory">/tools</filename>:</para> 42 43 <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 42 44 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen> 43 44 <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default45 include search path to use <filename class="directory">/tools</filename> only:</para>46 47 <screen os="aj"><userinput>cp -v gcc/Makefile.in{,.orig}48 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \49 gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>50 45 51 46 <para os="t1">We will create a dummy <filename>limits.h</filename> so … … 69 64 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 70 65 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 71 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 66 --with-sysroot=${CLFS} --with-local-prefix=/tools \ 67 --with-native-system-header-dir=/tools/include --disable-nls \ 72 68 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 73 --with-ppl=/cross-tools --with-cloog=/cross-tools \ 74 --without-headers --with-newlib --disable-decimal-float \ 75 --disable-libgomp --disable-libmudflap --disable-libssp \ 76 --disable-threads --enable-languages=c --disable-multilib</userinput></screen> 69 --with-isl=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools \ 70 --without-headers --with-newlib --disable-decimal-float --disable-libgomp \ 71 --disable-libmudflap --disable-libssp --disable-threads --disable-multilib \ 72 --disable-libatomic --disable-libitm --disable-libsanitizer \ 73 --disable-libquadmath --disable-target-libiberty --disable-target-zlib \ 74 --with-system-zlib --enable-cloog-backend=isl --disable-isl-version-check \ 75 --enable-languages=c --enable-checking=release</userinput></screen> 77 76 78 77 <variablelist os="am"> 79 <title>The meaning of the configure options:</title> 78 <title>The meaning of the new configure options:</title> 79 80 <varlistentry> 81 <term><parameter>--with-sysroot=${CLFS}</parameter></term> 82 <listitem> 83 <para>Tells GCC to consider ${CLFS} as the root file system.</para> 84 </listitem> 85 </varlistentry> 80 86 81 87 <varlistentry> … … 90 96 </varlistentry> 91 97 92 <varlistentry> 93 <term><parameter>--disable-shared</parameter></term> 94 <listitem> 95 <para>Disables the creation of the shared libraries.</para> 98 99 <varlistentry> 100 <term><parameter>--with-native-system-headers-dir=/tools/include</parameter></term> 101 <listitem> 102 <para>This switch ensures that GCC will search for the system headers 103 in <filename class="directory">/tools/include</filename> and that 104 host system headers will not be searched.</para> 105 </listitem> 106 </varlistentry> 107 108 <varlistentry> 109 <term><parameter>--disable-nls</parameter></term> 110 <listitem> 111 <para>This disables internationalization as i18n is not needed for the 112 cross-compile tools.</para> 113 </listitem> 114 </varlistentry> 115 116 <varlistentry> 117 <term><parameter>--without-headers</parameter></term> 118 <listitem> 119 <para>Disables GCC from using the target's Libc when cross compiling.</para> 120 </listitem> 121 </varlistentry> 122 123 <varlistentry> 124 <term><parameter>--with-newlib</parameter></term> 125 <listitem> 126 <para>Tells GCC that the target libc will use 'newlib'.</para> 127 </listitem> 128 </varlistentry> 129 130 <varlistentry> 131 <term><parameter>--disable-decimal-float</parameter></term> 132 <listitem> 133 <para>Disables support for the C decimal floating point extension.</para> 134 </listitem> 135 </varlistentry> 136 137 <varlistentry> 138 <term><parameter>--disable-libgomp</parameter></term> 139 <listitem> 140 <para>Disables the creation of runtime libraries used by GOMP.</para> 141 </listitem> 142 </varlistentry> 143 144 <varlistentry> 145 <term><parameter>--disable-libmudflap</parameter></term> 146 <listitem> 147 <para>Disables the creation of runtime libaries used by libmudflap.</para> 148 </listitem> 149 </varlistentry> 150 151 <varlistentry> 152 <term><parameter>--disable-libssp</parameter></term> 153 <listitem> 154 <para>Disables the use of Stack Smashing Protection for runtime libraries.</para> 96 155 </listitem> 97 156 </varlistentry> … … 108 167 109 168 <varlistentry> 169 <term><parameter>--disable-libatomic</parameter></term> 170 <listitem> 171 <para>The atomic library isn't needed at this time.</para> 172 </listitem> 173 </varlistentry> 174 175 <varlistentry> 176 <term><parameter>--disable-libitm</parameter></term> 177 <listitem> 178 <para>The itm library isn't neeeded at this tiem.</para> 179 </listitem> 180 </varlistentry> 181 182 <varlistentry> 183 <term><parameter>--disable-libsanitizer</parameter></term> 184 <listitem> 185 <para>The sanitizer library isn't needed at this time.</para> 186 </listitem> 187 </varlistentry> 188 189 <varlistentry> 190 <term><parameter>--disable-libquadmath</parameter></term> 191 <listitem> 192 <para>The quadmath library isn't needed at this time.</para> 193 </listitem> 194 </varlistentry> 195 196 <varlistentry> 110 197 <term><parameter>--enable-languages=c</parameter></term> 111 198 <listitem> … … 114 201 </varlistentry> 115 202 203 <varlistentry> 204 <term><parameter>--enable-checking=release</parameter></term> 205 <listitem> 206 <para>This option selects the complexity of the internal consistency checks and adds error checking within the compiler.</para> 207 </listitem> 208 </varlistentry> 209 116 210 </variablelist> 117 211 … … 120 214 <screen os="ao"><userinput>make all-gcc all-target-libgcc</userinput></screen> 121 215 122 <para os="ap">Install the package:</para> 123 124 <screen os="aq"><userinput>make install-gcc install-target-libgcc</userinput></screen> 216 <variablelist os="ap"> 217 <title>The meaning of the new make options:</title> 218 219 <varlistentry> 220 <term><parameter>all-gcc all-target-libgcc</parameter></term> 221 <listitem> 222 <para>Compiles only the parts of GCC that are needed at this time, 223 rather than the full package.</para> 224 </listitem> 225 </varlistentry> 226 227 </variablelist> 228 229 <para os="aq">Install the package:</para> 230 231 <screen os="ar"><userinput>make install-gcc install-target-libgcc</userinput></screen> 125 232 126 233 </sect2> -
BOOK/cross-tools/common/gmp.xml
r1c9985f r026bb5d 33 33 --> 34 34 35 <note os="n1"> 36 <para>If you are building with a host which has 32-bit user-space with a 37 64-bit capable CPU, cross-tools GMP will attempt to link with 64-bit 38 libraries. Add the following variable during <command>configure</command> 39 to force GMP's ABI: <command>./configure ABI=32</command></para> 40 </note> 41 35 42 <para os="a">Prepare GMP for compilation:</para> 36 43 37 <screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \ 38 --prefix=/cross-tools --enable-cxx</userinput></screen> 44 <screen os="b"><userinput>./configure --prefix=/cross-tools --enable-cxx \ 45 --disable-static</userinput></screen> 46 47 <variablelist os="b1"> 48 <title>The meaning of the new configure options:</title> 49 50 <varlistentry> 51 <term><parameter>--enable-cxx</parameter></term> 52 <listitem> 53 <para>This tells GMP to enable C++ support.</para> 54 </listitem> 55 </varlistentry> 56 57 </variablelist> 39 58 40 59 <para os="c">Compile the package:</para> -
BOOK/cross-tools/common/introduction.xml
r1c9985f r026bb5d 22 22 <important> 23 23 <para>Before issuing the build instructions for a package, the package 24 should be unpacked as user <systemitem class="username">clfs</systemitem>, 25 and a <command>cd</command> into the created directory should be 26 performed. The build instructions assume that the <command>bash</command> 27 shell is in use.</para> 24 should be unpacked, and a <command>cd</command> into the created 25 directory should be performed.</para> 28 26 </important> 29 27 -
BOOK/cross-tools/common/mpc.xml
r1c9985f r026bb5d 26 26 27 27 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 28 ./configure --prefix=/cross-tools \ 29 --with-gmp=/cross-tools \ 30 --with-mpfr=/cross-tools</userinput></screen> 28 ./configure --prefix=/cross-tools --disable-static \ 29 --with-gmp=/cross-tools --with-mpfr=/cross-tools</userinput></screen> 31 30 32 31 <para os="c">Compile the package:</para> -
BOOK/cross-tools/common/mpfr.xml
r1c9985f r026bb5d 23 23 <title>Installation of MPFR</title> 24 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../../final-system/common/mpfr.xml" 27 xpointer="xpointer(//*[@os='p1'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/common/mpfr.xml" 31 xpointer="xpointer(//*[@os='p2'])"/> 32 25 33 <para os="a">Prepare MPFR for compilation:</para> 26 34 27 35 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 28 36 ./configure --prefix=/cross-tools \ 29 --enable-shared --with-gmp=/cross-tools</userinput></screen> 37 --disable-static --with-gmp=/cross-tools</userinput></screen> 38 39 <variablelist os="b1"> 40 <title>The meaning of the new configure options:</title> 41 42 <varlistentry> 43 <term><parameter>LDFLAGS="-Wl,-rpath,/cross-tools/lib"</parameter></term> 44 <listitem> 45 <para>This tells <command>configure</command> to search in 46 <filename class="directory">/cross-tools</filename> for libraries.</para> 47 </listitem> 48 </varlistentry> 49 50 <varlistentry> 51 <term><parameter>--enable-shared</parameter></term> 52 <listitem> 53 <para>This tells <command>configure</command> to build MPFR's 54 shared libraries.</para> 55 </listitem> 56 </varlistentry> 57 58 <varlistentry> 59 <term><parameter>--with-gmp=/cross-tools</parameter></term> 60 <listitem> 61 <para>This tells <command>configure</command> where to find GMP.</para> 62 </listitem> 63 </varlistentry> 64 65 </variablelist> 30 66 31 67 <para os="c">Compile the package:</para> -
BOOK/cross-tools/common/ncurses.xml
r1c9985f r026bb5d 36 36 --without-debug --without-shared</userinput></screen> 37 37 38 <variablelist os="b1"> 39 <title>The meaning of the new configure options:</title> 40 41 <varlistentry os="b2"> 42 <term><parameter>--without-debug</parameter></term> 43 <listitem> 44 <para>Tells Ncurses to build without debugging information.</para> 45 </listitem> 46 </varlistentry> 47 48 <varlistentry os="b2"> 49 <term><parameter>--without-shared</parameter></term> 50 <listitem> 51 <para>This prevents Ncurses from building its shared libraries, which 52 are not needed at this time.</para> 53 </listitem> 54 </varlistentry> 55 56 </variablelist> 57 38 58 <para os="c">Only one binary is needed for the Cross-Tools. Build the 39 59 headers and then build <command>tic</command>:</para> -
BOOK/cross-tools/mips-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/variables.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" common/gcc-static.xml"/>28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/gcc-static.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/eglibc.xml"/> 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" common/gcc-final.xml"/>30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/gcc-final.xml"/> 30 31 31 32 </chapter> -
BOOK/cross-tools/mips/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/ mips/eglibc.xml"31 xpointer="xpointer(//*[@os=' g1'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/mips/eglibc.xml" 35 xpointer="xpointer(//*[@os='g2'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../common/eglibc.xml" 39 xpointer="xpointer(//*[@os='db'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../common/eglibc.xml" 43 xpointer="xpointer(//*[@os='dc'])"/> 34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 44 36 45 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/mips/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=mips headers_check 36 make ARCH=mips INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=mips INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <listitem> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/mips64-64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/gcc-static.xml"/> -
BOOK/cross-tools/mips64-64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../mips/eglibc.xml"31 xpointer="xpointer(//*[@os='g1'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"34 href="../mips/eglibc.xml"35 xpointer="xpointer(//*[@os='g2'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"38 href="../common/eglibc.xml"39 xpointer="xpointer(//*[@os='db'])"/>40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"42 href="../common/eglibc.xml"43 xpointer="xpointer(//*[@os='dc'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"46 30 href="../../final-system/mips64/eglibc-64bit.xml" 47 31 xpointer="xpointer(//*[@os='m3'])"/> … … 50 34 href="../../final-system/mips64/eglibc-64bit.xml" 51 35 xpointer="xpointer(//*[@os='m4'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/common/eglibc.xml" 39 xpointer="xpointer(//*[@os='s1'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../../final-system/common/eglibc.xml" 43 xpointer="xpointer(//*[@os='s2'])"/> 52 44 53 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 107 99 xpointer="xpointer(//*[@os='dn'])"/> 108 100 101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 102 href="../x86_64-64/eglibc.xml" 103 xpointer="xpointer(//*[@os='do'])"/> 104 105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 106 href="../x86_64-64/eglibc.xml" 107 xpointer="xpointer(//*[@os='dp'])"/> 108 109 109 </sect2> 110 110 -
BOOK/cross-tools/mips64-64/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 33 32 34 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 50 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 51 50 href="gcc-static.xml" 52 xpointer="xpointer(//*[@os='ai'])"/>53 54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"55 href="gcc-static.xml"56 xpointer="xpointer(//*[@os='aj'])"/>57 58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"59 href="gcc-static.xml"60 51 xpointer="xpointer(//*[@os='f'])"/> 61 52 … … 71 62 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 72 63 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 73 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 74 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \ 75 --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \ 76 --with-ppl=/cross-tools --with-cloog=/cross-tools \ 77 --enable-long-long --enable-threads=posix --with-abi=64</userinput></screen> 64 --with-sysroot=${CLFS} --with-local-prefix=/tools \ 65 --with-native-system-header-dir=/tools/include --disable-nls \ 66 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 67 --with-isl=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools \ 68 --without-headers --with-newlib --disable-decimal-float --disable-libgomp \ 69 --disable-libmudflap --disable-libssp --disable-threads --disable-multilib \ 70 --disable-libatomic --disable-libitm --disable-libsanitizer \ 71 --disable-libquadmath --disable-target-libiberty --disable-target-zlib \ 72 --with-system-zlib --enable-cloog-backend=isl --disable-isl-version-check \ 73 --enable-languages=c --enable-checking=release --with-abi=64 74 </userinput></screen> 78 75 79 76 <variablelist os="bg"> -
BOOK/cross-tools/mips64-64/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ 64/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 47 47 href="../common/gcc-static.xml" 48 48 xpointer="xpointer(//*[@os='ah'])"/> 49 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"51 href="../common/gcc-static.xml"52 xpointer="xpointer(//*[@os='ai'])"/>53 54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"55 href="../common/gcc-static.xml"56 xpointer="xpointer(//*[@os='aj'])"/>57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 79 71 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 80 72 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 81 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 82 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 83 --with-ppl=/cross-tools --with-cloog=/cross-tools \ 84 --without-headers --with-newlib --disable-decimal-float \ 85 --disable-libgomp --disable-libmudflap --disable-libssp \ 86 --disable-threads --enable-languages=c --with-abi=64</userinput></screen> 73 --with-sysroot=${CLFS} --with-local-prefix=/tools \ 74 --with-native-system-header-dir=/tools/include --disable-nls \ 75 --enable-shared --disable-static --enable-languages=c,c++ \ 76 --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \ 77 --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \ 78 --with-gmp=/cross-tools --with-cloog=/cross-tools --enable-cloog-backend=isl \ 79 --with-isl=/cross-tools --disable-isl-version-check --with-system-zlib \ 80 --enable-checking=release --enable-libstdcxx-time --with-abi=64</userinput></screen> 87 81 88 82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 106 100 xpointer="xpointer(//*[@os='aq'])"/> 107 101 102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 103 href="../common/gcc-static.xml" 104 xpointer="xpointer(//*[@os='ar'])"/> 105 108 106 </sect2> 109 107 -
BOOK/cross-tools/mips64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/> 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m ultilib/gcc-static.xml"/>29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc-static.xml"/> 29 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc.xml"/> 30 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc-n32.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc-64bit.xml"/> 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m ultilib/gcc-final.xml"/>33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc-final.xml"/> 33 34 34 35 </chapter> -
BOOK/cross-tools/mips64/eglibc-64bit.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="eglibc.xml"31 xpointer="xpointer(//*[@os='g1'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"34 href="eglibc.xml"35 xpointer="xpointer(//*[@os='g2'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"38 href="eglibc.xml"39 xpointer="xpointer(//*[@os='db'])"/>40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"42 href="eglibc.xml"43 xpointer="xpointer(//*[@os='dc'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"46 30 href="../../final-system/mips64/eglibc-64bit.xml" 47 31 xpointer="xpointer(//*[@os='m3'])"/> … … 50 34 href="../../final-system/mips64/eglibc-64bit.xml" 51 35 xpointer="xpointer(//*[@os='m4'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/common/eglibc.xml" 39 xpointer="xpointer(//*[@os='s1'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../../final-system/common/eglibc.xml" 43 xpointer="xpointer(//*[@os='s2'])"/> 52 44 53 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/mips64/eglibc-n32.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="eglibc.xml"31 xpointer="xpointer(//*[@os='g1'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"34 href="eglibc.xml"35 xpointer="xpointer(//*[@os='g2'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"38 href="eglibc.xml"39 xpointer="xpointer(//*[@os='db'])"/>40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"42 href="eglibc.xml"43 xpointer="xpointer(//*[@os='dc'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"46 30 href="../../final-system/mips64/eglibc-64bit.xml" 47 31 xpointer="xpointer(//*[@os='m3'])"/> … … 50 34 href="../../final-system/mips64/eglibc-64bit.xml" 51 35 xpointer="xpointer(//*[@os='m4'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/common/eglibc.xml" 39 xpointer="xpointer(//*[@os='s1'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../../final-system/common/eglibc.xml" 43 xpointer="xpointer(//*[@os='s2'])"/> 52 44 53 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 80 72 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 81 73 --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib32 \ 82 --disable-profile --enable-add-ons \ 83 --with-tls --enable-kernel=2.6.0 --with-__thread \ 74 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 84 75 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 85 -- cache-file=config.cache</userinput></screen>76 --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> 86 77 87 78 <variablelist os="fa"> -
BOOK/cross-tools/mips64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ mips/eglibc.xml"31 xpointer="xpointer(//*[@os=' g1'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../mips/eglibc.xml" 35 xpointer="xpointer(//*[@os='g2'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../common/eglibc.xml" 39 xpointer="xpointer(//*[@os='db'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../common/eglibc.xml" 43 xpointer="xpointer(//*[@os='dc'])"/> 34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 44 36 45 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/multilib/binutils.xml
r1c9985f r026bb5d 27 27 xpointer="xpointer(//*[@os='da'])"/> 28 28 29 <!-- Branch update patch area 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../../final-system/common/binutils.xml" 32 xpointer="xpointer(//*[@os='p1'])"/> 33 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 35 href="../../final-system/common/binutils.xml" 36 xpointer="xpointer(//*[@os='p2'])"/> 37 --> 29 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 39 href="../common/binutils.xml" … … 39 48 xpointer="xpointer(//*[@os='i'])"/> 40 49 41 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils- version;/configure \50 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \ 42 51 --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 43 --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared\44 -- enable-64-bit-bfd</userinput></screen>52 --with-sysroot=${CLFS} --with-lib-path=/tools/lib:/tools/lib64 \ 53 --disable-nls --disable-static --enable-64-bit-bfd</userinput></screen> 45 54 46 55 <variablelist os="bd"> … … 73 82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 74 83 href="../common/binutils.xml" 75 xpointer="xpointer(//*[@os='bd 8'])"/>84 xpointer="xpointer(//*[@os='bd7'])"/> 76 85 77 86 </variablelist> -
BOOK/cross-tools/multilib/eglibc-64bit.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href=" eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 64 64 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 65 65 --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib64 \ 66 --disable-profile --enable-add-ons \ 67 --with-tls --enable-kernel=2.6.0 --with-__thread \ 66 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 68 67 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 69 -- cache-file=config.cache</userinput></screen>68 --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> 70 69 71 70 <variablelist os="dg"> -
BOOK/cross-tools/multilib/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 59 59 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 60 60 --host=${CLFS_TARGET32} --build=${CLFS_HOST} \ 61 --disable-profile --enable-add-ons \ 62 --with-tls --enable-kernel=2.6.0 --with-__thread \ 61 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 63 62 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 64 -- cache-file=config.cache</userinput></screen>63 --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> 65 64 66 65 <variablelist os="dg"> … … 111 110 xpointer="xpointer(//*[@os='dg10'])"/> 112 111 112 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 113 href="../common/eglibc.xml" 114 xpointer="xpointer(//*[@os='dg11'])"/> 115 113 116 </variablelist> 114 117 -
BOOK/cross-tools/multilib/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 49 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 50 href="gcc-static.xml" 51 xpointer="xpointer(//*[@os='ai'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"54 href="gcc-static.xml"55 xpointer="xpointer(//*[@os='aj'])"/>56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"58 href="gcc-static.xml"59 51 xpointer="xpointer(//*[@os='f'])"/> 60 52 … … 70 62 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 71 63 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 72 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 73 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \ 74 --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \ 75 --with-ppl=/cross-tools --with-cloog=/cross-tools \ 76 --enable-long-long --enable-threads=posix</userinput></screen> 64 --with-sysroot=${CLFS} --with-local-prefix=/tools \ 65 --with-native-system-header-dir=/tools/include \ 66 --disable-nls --enable-shared --disable-static \ 67 --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 \ 68 --enable-long-long --enable-threads=posix --with-mpc=/cross-tools \ 69 --with-mpfr=/cross-tools --with-gmp=/cross-tools --with-cloog=/cross-tools \ 70 --enable-cloog-backend=isl --with-isl=/cross-tools \ 71 --disable-isl-version-check --with-system-zlib --enable-checking=release \ 72 --enable-libstdcxx-time</userinput></screen> 77 73 78 74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/multilib/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 47 47 href="../common/gcc-static.xml" 48 48 xpointer="xpointer(//*[@os='ah'])"/> 49 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"51 href="../common/gcc-static.xml"52 xpointer="xpointer(//*[@os='ai'])"/>53 54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"55 href="../common/gcc-static.xml"56 xpointer="xpointer(//*[@os='aj'])"/>57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 79 71 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 80 72 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 81 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 73 --with-sysroot=${CLFS} --with-local-prefix=/tools \ 74 --with-native-system-header-dir=/tools/include --disable-nls \ 82 75 --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 83 --with-ppl=/cross-tools --with-cloog=/cross-tools \ 84 --without-headers --with-newlib --disable-decimal-float \ 85 --disable-libgomp --disable-libmudflap --disable-libssp \ 86 --disable-threads --enable-languages=c</userinput></screen> 76 --with-cloog=/cross-tools --with-mpc=/cross-tools --without-headers \ 77 --with-newlib --disable-decimal-float --disable-libgomp --disable-libmudflap \ 78 --disable-libssp --disable-threads --disable-libatomic --disable-libitm \ 79 --disable-libsanitizer --disable-libquadmath --disable-target-libiberty \ 80 --disable-target-zlib --with-system-zlib --enable-cloog-backend=isl \ 81 --with-isl=/cross-tools --disable-isl-version-check --enable-languages=c \ 82 --enable-checking=release</userinput></screen> 87 83 88 84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 106 102 xpointer="xpointer(//*[@os='aq'])"/> 107 103 104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 105 href="../common/gcc-static.xml" 106 xpointer="xpointer(//*[@os='ar'])"/> 107 108 108 </sect2> 109 109 -
BOOK/cross-tools/ppc-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/variables.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/gcc-static.xml"/> -
BOOK/cross-tools/ppc/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 47 47 xpointer="xpointer(//*[@os='dd'])"/> 48 48 49 <screen os="de"><userinput>cat > config.cache << "EOF" 50 libc_cv_forced_unwind=yes 51 libc_cv_c_cleanup=yes 52 libc_cv_ppc_machine=yes 53 libc_cv_gnu89_inline=yes 54 libc_cv_ssp=no 55 EOF</userinput></screen> 49 <screen os="de"><userinput>echo "libc_cv_ssp=no" > config.cache</userinput></screen> 56 50 57 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 46 46 href="gcc-static.xml" 47 47 xpointer="xpointer(//*[@os='ah'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"50 href="gcc-static.xml"51 xpointer="xpointer(//*[@os='ai'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"54 href="gcc-static.xml"55 xpointer="xpointer(//*[@os='aj'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 44 44 xpointer="xpointer(//*[@os='ag'])"/> 45 45 46 <screen os="ah"><userinput>echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR "/tools/include/"\n\n' >> gcc/config/rs6000/sysv4.h 47 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h 46 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h 48 47 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/rs6000/sysv4.h</userinput></screen> 49 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"51 href="../common/gcc-static.xml"52 xpointer="xpointer(//*[@os='ai'])"/>53 54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"55 href="../common/gcc-static.xml"56 xpointer="xpointer(//*[@os='aj'])"/>57 48 58 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 100 91 xpointer="xpointer(//*[@os='aq'])"/> 101 92 93 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 94 href="../common/gcc-static.xml" 95 xpointer="xpointer(//*[@os='ar'])"/> 96 102 97 </sect2> 103 98 -
BOOK/cross-tools/ppc/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=powerpc headers_check 36 make ARCH=powerpc INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=powerpc INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=powerpc INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=powerpc INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <listitem> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/ppc64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/gcc-static.xml"/> -
BOOK/cross-tools/ppc64/eglibc-64bit.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 94 94 xpointer="xpointer(//*[@os='dg10'])"/> 95 95 96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 97 href="../common/eglibc.xml" 98 xpointer="xpointer(//*[@os='dg11'])"/> 99 96 100 </variablelist> 97 101 -
BOOK/cross-tools/ppc64/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 46 46 href="gcc-static.xml" 47 47 xpointer="xpointer(//*[@os='ah'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"50 href="gcc-static.xml"51 xpointer="xpointer(//*[@os='ai'])"/>52 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"54 href="gcc-static.xml"55 xpointer="xpointer(//*[@os='aj'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc64/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 47 47 href="../ppc/gcc-static.xml" 48 48 xpointer="xpointer(//*[@os='ah'])"/> 49 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"51 href="../common/gcc-static.xml"52 xpointer="xpointer(//*[@os='ai'])"/>53 54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"55 href="../common/gcc-static.xml"56 xpointer="xpointer(//*[@os='aj'])"/>57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 100 92 xpointer="xpointer(//*[@os='aq'])"/> 101 93 94 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 95 href="../common/gcc-static.xml" 96 xpointer="xpointer(//*[@os='ar'])"/> 97 102 98 </sect2> 103 99 -
BOOK/cross-tools/sparc-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/variables.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gcc-static.xml"/> -
BOOK/cross-tools/sparc/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=sparc headers_check 36 make ARCH=sparc INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=sparc INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=sparc INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=sparc INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <listitem> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/sparc64-64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc-static.xml"/> -
BOOK/cross-tools/sparc64-64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/sparc64-64/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../../final-system/common/gcc.xml" 28 xpointer="xpointer(//*[@os='p1'])"/> 29 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../../final-system/common/gcc.xml" 32 xpointer="xpointer(//*[@os='p2'])"/> 33 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 35 href="../common/gcc-static.xml" 28 36 xpointer="xpointer(//*[@os='aa'])"/> … … 35 43 href="../common/gcc-static.xml" 36 44 xpointer="xpointer(//*[@os='ag'])"/> 37 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"39 href="../common/gcc-static.xml"40 xpointer="xpointer(//*[@os='ai'])"/>41 42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"43 href="../common/gcc-static.xml"44 xpointer="xpointer(//*[@os='aj'])"/>45 45 46 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 84 84 xpointer="xpointer(//*[@os='aq'])"/> 85 85 86 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 87 href="../common/gcc-static.xml" 88 xpointer="xpointer(//*[@os='ar'])"/> 89 86 90 </sect2> 87 91 -
BOOK/cross-tools/sparc64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc-static.xml"/> -
BOOK/cross-tools/sparc64/eglibc-64bit.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/sparc64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 59 59 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 60 60 --host=${CLFS_TARGET32} --build=${CLFS_HOST} \ 61 --disable-profile --enable-add-ons \ 62 --with-tls --enable-kernel=2.6.0 --with-__thread \ 61 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 63 62 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 64 -- cache-file=config.cache</userinput></screen>63 --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> 65 64 66 65 <variablelist os="dg"> -
BOOK/cross-tools/sparc64/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=sparc64 headers_check 36 make ARCH=sparc64 INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=sparc64 INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=sparc64 INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=sparc64 INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <listitem> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/x86-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/variables.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gcc-static.xml"/> -
BOOK/cross-tools/x86/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 57 57 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 58 58 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 59 CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET) - mtune=generic -g -O2" \59 CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET) -O2" \ 60 60 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 61 61 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 62 --disable-profile --enable-add-ons \ 63 --with-tls --enable-kernel=2.6.0 --with-__thread \ 62 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 64 63 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 65 -- cache-file=config.cache</userinput></screen>64 --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> 66 65 67 66 <variablelist os="dg"> … … 86 85 <varlistentry os="ea2"> 87 86 <term><parameter>CFLAGS="-march=$(cut -d- -f1 <<< 88 $CLFS_TARGET) -mtune=generic -g -O2"</parameter></term>87 $CLFS_TARGET)" -O2</parameter></term> 89 88 <listitem> 90 89 <para>Forces EGLIBC to optimize for our target system.</para> … … 119 118 href="../common/eglibc.xml" 120 119 xpointer="xpointer(//*[@os='dg11'])"/> 121 122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"123 href="../common/eglibc.xml"124 xpointer="xpointer(//*[@os='dg12'])"/>125 120 126 121 </variablelist> -
BOOK/cross-tools/x86/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=i386 headers_check 36 make ARCH=i386 INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=i386 INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=i386 INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=i386 INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <listitem> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/x86_64-64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/variables.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc-static.xml"/> 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" 64/eglibc.xml"/>30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eglibc.xml"/> 30 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc-final.xml"/> 31 32 -
BOOK/cross-tools/x86_64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog -ppl.xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc-static.xml"/> -
BOOK/cross-tools/x86_64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/eglibc.xml"31 xpointer="xpointer(//*[@os=' db'])"/>30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/eglibc.xml"35 xpointer="xpointer(//*[@os=' dc'])"/>34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 57 57 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ 58 58 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 59 CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET32) - mtune=generic -g -O2" \59 CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET32) -O2" \ 60 60 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 61 61 --host=${CLFS_TARGET32} --build=${CLFS_HOST} \ 62 --disable-profile --enable-add-ons \ 63 --with-tls --enable-kernel=2.6.0 --with-__thread \ 62 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 64 63 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 65 -- cache-file=config.cache</userinput></screen>64 --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> 66 65 67 66 <variablelist os="dg"> … … 86 85 <varlistentry os="ea2"> 87 86 <term><parameter>CFLAGS="-march=$(cut -d- -f1 <<< 88 $CLFS_TARGET32) - mtune=generic -g -O2"</parameter></term>87 $CLFS_TARGET32) -O2"</parameter></term> 89 88 <listitem> 90 89 <para>Forces EGLIBC to optimize for our target system.</para> … … 115 114 href="../common/eglibc.xml" 116 115 xpointer="xpointer(//*[@os='dg10'])"/> 116 117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 118 href="../common/eglibc.xml" 119 xpointer="xpointer(//*[@os='dg11'])"/> 117 120 118 121 </variablelist> -
BOOK/cross-tools/x86_64/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=x86_64 headers_check 36 make ARCH=x86_64 INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=x86_64 INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <listitem> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 62 57 </listitem> 63 58 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.