Changeset bc2e3fa for BOOK/cross-tools/common
- 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/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.