Changeset ed8de1a for BOOK/cross-tools
- Timestamp:
- Feb 21, 2006, 1:16:53 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ff8fae6
- Parents:
- 39cbb73
- Location:
- BOOK/cross-tools
- Files:
-
- 1 deleted
- 7 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/64/binutils.xml
r39cbb73 red8de1a 48 48 --disable-multilib</userinput></screen> 49 49 50 <variablelist os="cb"> 51 <title>The meaning of the configure options:</title> 52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="../common/binutils.xml" 55 xpointer="xpointer(//*[@os='bd1'])"/> 56 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../common/binutils.xml" 59 xpointer="xpointer(//*[@os='bd2'])"/> 60 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 href="../common/binutils.xml" 63 xpointer="xpointer(//*[@os='bd3'])"/> 64 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/binutils.xml" 67 xpointer="xpointer(//*[@os='bd4'])"/> 68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../common/binutils.xml" 71 xpointer="xpointer(//*[@os='bd5'])"/> 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../common/binutils.xml" 75 xpointer="xpointer(//*[@os='bd6'])"/> 76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="../common/binutils.xml" 79 xpointer="xpointer(//*[@os='bd7'])"/> 80 81 <varlistentry os="cb1"> 82 <term><parameter>--disable-multilib</parameter></term> 83 <listitem> 84 <para>This do ...</para> 85 </listitem> 86 </varlistentry> 87 88 </variablelist> 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 51 href="../common/binutils.xml" 52 xpointer="xpointer(//*[@os='bd'])"/> 89 53 90 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 95 59 href="../common/binutils.xml" 96 60 xpointer="xpointer(//*[@os='bf'])"/> 97 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"99 href="../common/binutils.xml"100 xpointer="xpointer(//*[@os='bf1'])"/>101 61 102 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 116 76 xpointer="xpointer(//*[@os='bj'])"/> 117 77 78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 79 href="../common/binutils.xml" 80 xpointer="xpointer(//*[@os='bk'])"/> 81 118 82 </sect2> 119 83 -
BOOK/cross-tools/common/binutils.xml
r39cbb73 red8de1a 59 59 <term><parameter>--host=${LFS_HOST}</parameter></term> 60 60 <listitem> 61 <para>This do ...</para> 61 <para>When used injunction with --target, this creates a cross-architecture 62 executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para> 62 63 </listitem> 63 64 </varlistentry> … … 66 67 <term><parameter>--target=${LFS_TARGET}</parameter></term> 67 68 <listitem> 68 <para>This do ...</para> 69 <para>When used injunction with --host, this creates a cross-architecture 70 executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para> 69 71 </listitem> 70 72 </varlistentry> … … 99 101 <term><parameter>--enable-64-bit-bfd</parameter></term> 100 102 <listitem> 101 <para>This adds 64 bit support to our toolchain.</para> 103 <para>This adds 64 bit support to our toolchain. This flag will not 104 interfere with 32 bit builds.</para> 105 </listitem> 106 </varlistentry> 107 108 <varlistentry os="bd8"> 109 <term><parameter>--disable-multilib</parameter></term> 110 <listitem> 111 <para>This options disables the building of a multilib 112 capable binutils.</para> 102 113 </listitem> 103 114 </varlistentry> … … 110 121 make</userinput></screen> 111 122 112 <variablelist os="b f1">123 <variablelist os="bg"> 113 124 <title>The meaning of the make options:</title> 114 125 115 <varlistentry >126 <varlistentry os="bg1"> 116 127 <term><parameter>configure-host</parameter></term> 117 128 <listitem> 118 <para>This do ...</para> 119 </listitem> 120 </varlistentry> 121 122 <varlistentry> 123 <term><parameter>headers -C bfd</parameter></term> 124 <listitem> 125 <para>This do ...</para> 129 <para>This checks the host environment and makes sure all the 130 necessary tools are available to compile binutils.</para> 126 131 </listitem> 127 132 </varlistentry> … … 129 134 </variablelist> 130 135 131 <para os="b g">Install the package:</para>136 <para os="bh">Install the package:</para> 132 137 133 <screen os="b h"><userinput>make install</userinput></screen>138 <screen os="bi"><userinput>make install</userinput></screen> 134 139 135 <para os="b i">Copy <filename class="headerfile">libiberty.h</filename> file to140 <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> file to 136 141 <filename class="directory">/tools/include</filename> directory:</para> 137 142 138 <screen os="b j"><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen>143 <screen os="bk"><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen> 139 144 140 145 </sect2> -
BOOK/cross-tools/mips64-chapter.xml
r39cbb73 red8de1a 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/linux-libc-headers.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m ips64/binutils.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/gcc-static.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/glibc.xml"/> -
BOOK/cross-tools/multilib/binutils.xml
r39cbb73 red8de1a 51 51 xpointer="xpointer(//*[@os='i'])"/> 52 52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="../common/binutils.xml"55 xpointer="xpointer(//*[@os='bc'])"/>53 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 54 --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \ 55 --disable-nls --enable-shared --enable-64-bit-bfd --disable-multilib</userinput></screen> 56 56 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../common/binutils.xml" 59 xpointer="xpointer(//*[@os='bd'])"/> 57 <variablelist os="bd"> 58 <title>The meaning of the configure options:</title> 59 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 href="../common/binutils.xml" 62 xpointer="xpointer(//*[@os='bd1'])"/> 63 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../common/binutils.xml" 66 xpointer="xpointer(//*[@os='bd2'])"/> 67 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../common/binutils.xml" 70 xpointer="xpointer(//*[@os='bd3'])"/> 71 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 href="../common/binutils.xml" 74 xpointer="xpointer(//*[@os='bd4'])"/> 75 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="../common/binutils.xml" 78 xpointer="xpointer(//*[@os='bd5'])"/> 79 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="../common/binutils.xml" 82 xpointer="xpointer(//*[@os='bd6'])"/> 83 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href="../common/binutils.xml" 86 xpointer="xpointer(//*[@os='bd7'])"/> 87 88 </variablelist> 60 89 61 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 66 95 href="../common/binutils.xml" 67 96 xpointer="xpointer(//*[@os='bf'])"/> 68 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"70 href="../common/binutils.xml"71 xpointer="xpointer(//*[@os='bf1'])"/>72 97 73 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 87 112 xpointer="xpointer(//*[@os='bj'])"/> 88 113 114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 115 href="../common/binutils.xml" 116 xpointer="xpointer(//*[@os='bk'])"/> 117 89 118 </sect2> 90 119 -
BOOK/cross-tools/sparc/binutils.xml
r39cbb73 red8de1a 56 56 xpointer="xpointer(//*[@os='i'])"/> 57 57 58 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 59 --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \60 --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 href="../common/binutils.xml" 60 xpointer="xpointer(//*[@os='bc'])"/> 61 61 62 <variablelist os="bd"> 63 <title>The meaning of the configure options:</title> 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 63 href="../common/binutils.xml" 64 xpointer="xpointer(//*[@os='bd'])"/> 64 65 65 <varlistentry os="bd1"> 66 <term><parameter>--prefix=/cross-tools</parameter></term> 67 <listitem> 68 <para>This tells the configure script to prepare to install the 69 package in the <filename class="directory">/cross-tools</filename> 70 directory.</para> 71 </listitem> 72 </varlistentry> 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../common/binutils.xml" 68 xpointer="xpointer(//*[@os='be'])"/> 73 69 74 <varlistentry os="bd2"> 75 <term><parameter>--host=${LFS_HOST}</parameter></term> 76 <listitem> 77 <para>This do ...</para> 78 </listitem> 79 </varlistentry> 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 71 href="../common/binutils.xml" 72 xpointer="xpointer(//*[@os='bf'])"/> 80 73 81 <varlistentry os="bd3"> 82 <term><parameter>--target=${LFS_TARGET}</parameter></term> 83 <listitem> 84 <para>This do ...</para> 85 </listitem> 86 </varlistentry> 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 href="../common/binutils.xml" 76 xpointer="xpointer(//*[@os='bg'])"/> 87 77 88 <varlistentry os="bd4"> 89 <term><parameter>--with-lib-path=/tools/lib</parameter></term> 90 <listitem> 91 <para>This tells the configure script to specify the library 92 search path during the compilation of Binutils, resulting in 93 <filename class="directory">/tools/lib</filename> being passed 94 to the linker. This prevents the linker from searching through 95 library directories on the host.</para> 96 </listitem> 97 </varlistentry> 78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 79 href="../common/binutils.xml" 80 xpointer="xpointer(//*[@os='bh'])"/> 98 81 99 <varlistentry os="bd5"> 100 <term><parameter>--disable-nls</parameter></term> 101 <listitem> 102 <para>This disables internationalization as i18n is not needed for the 103 cross-compile tools.</para> 104 </listitem> 105 </varlistentry> 82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 83 href="../common/binutils.xml" 84 xpointer="xpointer(//*[@os='bi'])"/> 106 85 107 <varlistentry os="bd6"> 108 <term><parameter>--enable-shared</parameter></term> 109 <listitem> 110 <para>Enable the creation of the shared libraries.</para> 111 </listitem> 112 </varlistentry> 86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 87 href="../common/binutils.xml" 88 xpointer="xpointer(//*[@os='bj'])"/> 113 89 114 <varlistentry os="bd7"> 115 <term><parameter>--enable-64-bit-bfd</parameter></term> 116 <listitem> 117 <para>This adds 64 bit support to our toolchain.</para> 118 </listitem> 119 </varlistentry> 120 121 </variablelist> 122 123 <para os="be">Compile the package:</para> 124 125 <screen os="bf"><userinput>make configure-host 126 make headers -C bfd 127 make</userinput></screen> 128 129 <variablelist os="bf1"> 130 <title>The meaning of the make options:</title> 131 132 <varlistentry> 133 <term><parameter>configure-host</parameter></term> 134 <listitem> 135 <para>This do ...</para> 136 </listitem> 137 </varlistentry> 138 139 <varlistentry> 140 <term><parameter>headers -C bfd</parameter></term> 141 <listitem> 142 <para>This do ...</para> 143 </listitem> 144 </varlistentry> 145 146 </variablelist> 147 148 <para os="bg">Install the package:</para> 149 150 <screen os="bh"><userinput>make install</userinput></screen> 151 152 <para os="bi">Copy <filename class="headerfile">libiberty.h</filename> file to 153 <filename class="directory">/tools/include</filename> directory:</para> 154 155 <screen os="bj"><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen> 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 91 href="../common/binutils.xml" 92 xpointer="xpointer(//*[@os='bk'])"/> 156 93 157 94 </sect2> -
BOOK/cross-tools/sparc64-64/binutils.xml
r39cbb73 red8de1a 64 64 65 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../ 64/binutils.xml"67 xpointer="xpointer(//*[@os=' cb'])"/>66 href="../common/binutils.xml" 67 xpointer="xpointer(//*[@os='bd'])"/> 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 74 74 href="../64/binutils.xml" 75 75 xpointer="xpointer(//*[@os='bf'])"/> 76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../64/binutils.xml"79 xpointer="xpointer(//*[@os='bf1'])"/>80 76 81 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 95 91 xpointer="xpointer(//*[@os='bj'])"/> 96 92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../64/binutils.xml" 95 xpointer="xpointer(//*[@os='bk'])"/> 96 97 97 </sect2> 98 98 -
BOOK/cross-tools/sparc64/binutils.xml
r39cbb73 red8de1a 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../ common/binutils.xml"70 href="../multilib/binutils.xml" 71 71 xpointer="xpointer(//*[@os='bc'])"/> 72 72 73 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../ common/binutils.xml"74 href="../multilib/binutils.xml" 75 75 xpointer="xpointer(//*[@os='bd'])"/> 76 76 … … 82 82 href="../common/binutils.xml" 83 83 xpointer="xpointer(//*[@os='bf'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="../common/binutils.xml"87 xpointer="xpointer(//*[@os='bf1'])"/>88 84 89 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 103 99 xpointer="xpointer(//*[@os='bj'])"/> 104 100 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../common/binutils.xml" 103 xpointer="xpointer(//*[@os='bk'])"/> 104 105 105 </sect2> 106 106 -
BOOK/cross-tools/x86_64-chapter.xml
r39cbb73 red8de1a 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/linux-libc-headers.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" x86_64/binutils.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/binutils.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/glibc-headers.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/gcc-static.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.