Changeset 6a043e2 for BOOK/cross-tools/common
- 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
- Location:
- BOOK/cross-tools/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/gcc-final.xml
r5df4d80 r6a043e2 23 23 <title>Installation of GCC Cross Compiler</title> 24 24 25 <!--26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"27 href="gcc-static.xml"28 xpointer="xpointer(//*[@os='p1'])"/>29 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"31 href="gcc-static.xml"32 xpointer="xpointer(//*[@os='p2'])"/>33 -->34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"36 href="../../final-system/common/gcc.xml"37 xpointer="xpointer(//*[@os='p3'])"/>38 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"40 href="../../final-system/common/gcc.xml"41 xpointer="xpointer(//*[@os='p4'])"/>42 43 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 44 26 href="gcc-static.xml" … … 56 38 href="gcc-static.xml" 57 39 xpointer="xpointer(//*[@os='ad'])"/> 58 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"60 href="gcc-static.xml"61 xpointer="xpointer(//*[@os='ae'])"/>62 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"64 href="gcc-static.xml"65 xpointer="xpointer(//*[@os='af'])"/>66 40 67 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 100 74 xpointer="xpointer(//*[@os='h'])"/> 101 75 102 <screen os="bf"><userinput> ../gcc-&gcc-version;/configure --prefix=/cross-tools \103 -- target=${CLFS_TARGET} --host=${CLFS_HOST} --disable-multilib\104 -- with-local-prefix=/tools --disable-nls --enable-shared\105 --enable- languages=c,c++ --enable-__cxa_atexit \76 <screen os="bf"><userinput>AR=ar ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 77 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 78 --disable-multilib --with-local-prefix=/tools --disable-nls \ 79 --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \ 106 80 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> 107 81 -
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> -
BOOK/cross-tools/common/glibc.xml
r5df4d80 r6a043e2 26 26 the method suggested in this book puts the stability of the system at 27 27 risk.</para> 28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../../final-system/common/glibc.xml" 31 xpointer="xpointer(//*[@os='p3'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../../final-system/common/glibc.xml" 35 xpointer="xpointer(//*[@os='p4'])"/> 28 36 29 37 <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
Note:
See TracChangeset
for help on using the changeset viewer.