Changeset 8520e58 in clfs-embedded for BOOK/cross-tools
- Timestamp:
- Nov 22, 2006, 9:44:58 PM (18 years ago)
- Branches:
- master
- Children:
- 83ea4ad
- Parents:
- 3466794
- Location:
- BOOK/cross-tools
- Files:
-
- 2 added
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/toolchain.xml
r3466794 r8520e58 6 6 ]> 7 7 8 <sect1 id="ch- system-variables">9 <?dbhtml filename=" variables.html"?>8 <sect1 id="ch-cross-tools-toolchain"> 9 <?dbhtml filename="toolchain.html"?> 10 10 11 <title> BuildVariables</title>11 <title>ToolChain Variables</title> 12 12 13 <para>Setup target-specific variables for the compiler 14 and linkers:</para> 13 <para>We set this up just for uClibc build, we will remove 14 these after we that build. We will reitroduce them in 15 then Final System build:</para> 15 16 16 <screen><userinput>cat > ~/.bash_profile << "EOF" 17 <literal>export CC="${CLFS_TARGET}-gcc" 17 <screen><userinput><literal>export CC="${CLFS_TARGET}-gcc" 18 18 export CXX="${CLFS_TARGET}-g++" 19 19 export AR="${CLFS_TARGET}-ar" 20 20 export AS="${CLFS_TARGET}-as" 21 export LD="${CLFS_TARGET}-ld" 21 22 export RANLIB="${CLFS_TARGET}-ranlib" 22 export LD="${CLFS_TARGET}-ld" 23 export STRIP="${CLFS_TARGET}-strip"</literal> 24 EOF 25 source ~/.bashrc 26 </userinput></screen> 23 export STRIP="${CLFS_TARGET}-strip"</literal></userinput></screen> 27 24 28 25 </sect1> -
BOOK/cross-tools/mips-chapter.xml
r3466794 r8520e58 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/> 21 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/clear-toolchain.xml"/> 22 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/> 23 25 -
BOOK/cross-tools/mips/uclibc.xml
r3466794 r8520e58 95 95 xpointer="xpointer(//*[@os='n'])"/> 96 96 97 <screen os="o"><userinput>make TARGET_ARCH=mips</userinput></screen>97 <screen os="o"><userinput>make CC="${CC} ${BUILD}" TARGET_ARCH=mips</userinput></screen> 98 98 99 99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86-chapter.xml
r3466794 r8520e58 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/> 21 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/uclibc.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/clear-toolchain.xml"/> 22 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/> 23 25 -
BOOK/cross-tools/x86/uclibc.xml
r3466794 r8520e58 82 82 <para os="n">Compile the package:</para> 83 83 84 <screen os="o"><userinput>make TARGET_ARCH=i386</userinput></screen>84 <screen os="o"><userinput>make CC="${CC} ${BUILD}" TARGET_ARCH=i386</userinput></screen> 85 85 86 86 <para os="p">The uClibc build system creates symlinks in its
Note:
See TracChangeset
for help on using the changeset viewer.