Changeset 6533111 in clfs-embedded
- Timestamp:
- Jan 25, 2009, 1:37:55 AM (16 years ago)
- Branches:
- master
- Children:
- 128905d
- Parents:
- 5b4806a
- Location:
- BOOK/cross-tools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/variables.xml
r5b4806a r6533111 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/arm.*/arm/g'</userinput></screen> 28 27 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 28 30 href="../x86/variables.xml" 29 xpointer="xpointer(//*[@os=' d'])"/>31 xpointer="xpointer(//*[@os='e1'])"/> 30 32 31 <table os="e"> 33 <screen os="e2"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/armeb/BIG/' -e 's/arm/LITTLE/'</userinput></screen> 34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../x86/variables.xml" 37 xpointer="xpointer(//*[@os='e'])"/> 38 39 <screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 40 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc 41 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc</userinput></screen> 42 43 <table os="g"> 32 44 <title>Processor Type and Target Triplets</title> 33 45 <?dbfo table-width="5in" ?> -
BOOK/cross-tools/common/gcc-final.xml
r5b4806a r6533111 23 23 <title>Installation of GCC Cross Compiler</title> 24 24 25 <!-- 25 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 27 href="gcc-static.xml" … … 30 31 href="gcc-static.xml" 31 32 xpointer="xpointer(//*[@os='p2'])"/> 32 33 --> 33 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 35 href="gcc-static.xml" -
BOOK/cross-tools/common/gcc-static.xml
r5b4806a r6533111 28 28 and no Threads</title> 29 29 30 <!-- 30 31 <para os="p1">The following patch contains a number of updates to the 31 32 &gcc-version; branch by the GCC developers:</para> 32 33 33 34 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen> 34 35 --> 35 36 <para os="p3">To make sure that a couple of tools use the proper syntax, 36 37 apply the following patch:</para> -
BOOK/cross-tools/mips/variables.xml
r5b4806a r6533111 21 21 xpointer="xpointer(//*[@os='b'])"/> 22 22 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 24 href="../x86/variables.xml" 25 xpointer="xpointer(//*[@os='c'])"/> 26 27 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/mips.*/mips/' -e 's/mipsel.*/mips/'</userinput></screen> 28 29 <para os="e1">Now we will setup out default endian needed we need to build:</para> 30 31 <screen os="e2"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/mipsel/LITTLE/' -e 's/mips/BIG/'</userinput></screen> 32 23 33 <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your 24 34 uClibc is built. There are currently 5 MIPS ISA Levels. To keep things simple … … 30 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 41 href="../x86/variables.xml" 32 xpointer="xpointer(//*[@os=' c'])"/>42 xpointer="xpointer(//*[@os='e'])"/> 33 43 34 <screen os="d"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 44 <screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 45 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc 46 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc 35 47 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc</userinput></screen> 36 48 37 <table os=" e">49 <table os="g"> 38 50 <title>Processor Type and Target Triplets</title> 39 51 <?dbfo table-width="5.5in" ?> -
BOOK/cross-tools/x86/linux-headers.xml
r5b4806a r6533111 37 37 <screen os="c"><userinput>install -dv ${CLFS}/usr/include 38 38 make mrproper 39 make ARCH=$ (echo ${CLFS_TARGET} | sed 's/i.86/i386/' | cut -f1 -d-)headers_check40 make ARCH=$ (echo ${CLFS_TARGET} | sed 's/i.86/i386/' | cut -f1 -d-)INSTALL_HDR_PATH=dest headers_install39 make ARCH=${CLFS_ARCH} headers_check 40 make ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=dest headers_install 41 41 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 42 42 -
BOOK/cross-tools/x86/variables.xml
r5b4806a r6533111 23 23 <screen os="b"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen> 24 24 25 <para os="c">Now we will add this to <filename>~/.bashrc</filename>, just in 25 <para os="c">Now we will setup out default architecture needed we need to build:</para> 26 27 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/'</userinput></screen> 28 29 <para os="e">Now we will add this to <filename>~/.bashrc</filename>, just in 26 30 case you have to exit and restart building later:</para> 27 31 28 <screen os="d"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen> 32 <screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 33 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc</userinput></screen> 29 34 30 <table os=" e">35 <table os="g"> 31 36 <title>Processor Type and Target Triplets</title> 32 37 <?dbfo table-width="4.5in" ?>
Note:
See TracChangeset
for help on using the changeset viewer.