Changeset ed8de1a for BOOK/cross-tools/sparc
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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>
Note:
See TracChangeset
for help on using the changeset viewer.