Changeset 6a043e2 for BOOK/cross-tools/common/gcc-static.xml
- Timestamp:
- Aug 27, 2008, 4:51:20 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ddbac3c
- Parents:
- 5df4d80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/gcc-static.xml
r5df4d80 r6a043e2 24 24 and no Threads</title> 25 25 26 <!--27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"28 href="../../final-system/common/gcc.xml"29 xpointer="xpointer(//*[@os='p1'])"/>30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"32 href="../../final-system/common/gcc.xml"33 xpointer="xpointer(//*[@os='p2'])"/>34 -->35 36 26 <para os="aa">Make a couple of essential adjustments to the specs file 37 27 to ensure GCC uses our build environment:</para> … … 43 33 44 34 <screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> 45 46 <para os="ae">The following patch ensures that <command>gcc</command> does not47 search the <filename class="directory">/usr</filename> directory for48 <filename class="libraryfile">libgcc_s.so</filename> when49 cross-compiling:</para>50 51 <screen os="af"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen>52 35 53 36 <para os="ag">Change the StartFile Spec to point to the correct library … … 77 60 xpointer="xpointer(//*[@os='h'])"/> 78 61 79 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 80 --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \ 81 --with-local-prefix=/tools --disable-nls --disable-shared \ 82 --disable-threads --enable-languages=c</userinput></screen> 62 <screen os="al"><userinput>AR=ar ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 63 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 64 --disable-multilib --with-local-prefix=/tools --disable-nls \ 65 --without-headers --with-newlib --disable-decimal-float \ 66 --disable-libgomp --disable-libmudflap --disable-libssp \ 67 --disable-shared --disable-threads --enable-languages=c</userinput></screen> 83 68 84 69 <variablelist os="am"> … … 124 109 <para os="an">Continue with compiling the package:</para> 125 110 126 <screen os="ao"><userinput>make all-gcc</userinput></screen>111 <screen os="ao"><userinput>make</userinput></screen> 127 112 128 113 <para os="ap">Install the package:</para> 129 114 130 <screen os="aq"><userinput>make install -gcc</userinput></screen>115 <screen os="aq"><userinput>make install</userinput></screen> 131 116 132 117 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.