Changeset 0194a60 in clfs-embedded for BOOK/cross-tools/common
- Timestamp:
- Nov 7, 2008, 11:37:37 PM (16 years ago)
- Branches:
- master
- Children:
- f8218f3
- Parents:
- 56d186f
- Location:
- BOOK/cross-tools/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
r56d186f r0194a60 36 36 37 37 <screen os="p2"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen> 38 39 <para os="p3">The following patch is needed for Binutils to build against40 uClibc:</para>41 42 <screen os="p4"><userinput>patch -Np1 -i ../&binutils-uclibc-patch;</userinput></screen>43 38 44 39 <para os="b">The Binutils documentation recommends building Binutils outside of the -
BOOK/cross-tools/common/gcc-final.xml
r56d186f r0194a60 30 30 href="gcc-static.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="gcc-static.xml"35 xpointer="xpointer(//*[@os='p3'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"38 href="gcc-static.xml"39 xpointer="xpointer(//*[@os='p4'])"/>40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"42 href="gcc-static.xml"43 xpointer="xpointer(//*[@os='p5'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"46 href="gcc-static.xml"47 xpointer="xpointer(//*[@os='p6'])"/>48 32 49 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/common/gcc-static.xml
r56d186f r0194a60 33 33 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> 34 34 35 <para os="p3">The following patch is needed for GCC to build against uClibc:</para>36 37 <screen os="p4"><userinput>patch -Np1 -i ../&gcc-uclibc-patch;</userinput></screen>38 39 <para os="p5">The following patch ensures that <command>gcc</command> does not40 search the <filename class="directory">/usr</filename> directory for41 <filename class="libraryfile">libgcc_s.so</filename> when42 cross-compiling:</para>43 44 <screen os="p6"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen>45 46 35 <para os="c">The GCC documentation recommends building GCC outside of the source 47 36 directory in a dedicated build directory:</para> … … 55 44 --target=${CLFS_TARGET} --disable-multilib \ 56 45 --with-sysroot=${CLFS} --disable-nls --disable-shared \ 46 --without-headers --with-newlib --disable-decimal-float \ 47 --disable-libgomp --disable-libmudflap --disable-libssp \ 57 48 --disable-threads --enable-languages=c</userinput></screen> 58 49 … … 88 79 <para os="ag">Continue with compiling the package:</para> 89 80 90 <screen os="ah"><userinput>make all-gcc</userinput></screen>81 <screen os="ah"><userinput>make</userinput></screen> 91 82 92 83 <para os="ai">Install the package:</para> 93 84 94 <screen os="aj"><userinput>make install -gcc</userinput></screen>85 <screen os="aj"><userinput>make install</userinput></screen> 95 86 96 87 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.