Changeset 05806e8 for cross-tools
- Timestamp:
- Feb 21, 2006, 1:43:21 AM (19 years ago)
- Children:
- 496be96
- Parents:
- fe884f4
- Location:
- cross-tools
- Files:
-
- 10 added
- 2 deleted
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
cross-tools/alpha-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/linux-libc-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> -
cross-tools/mips-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-libc-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> -
cross-tools/mips64-64-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64-64/linux-libc-headers.xml"/> -
cross-tools/mips64-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables-multilib.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/linux-libc-headers.xml"/> -
cross-tools/mips64/flags.xml
rfe884f4 r05806e8 23 23 xpointer="xpointer(//*[@os='c'])"/> 24 24 25 <screen os="d"><userinput>export LFS_TARGET32="`echo ${LFS_TARGET}| sed -e 's/64//g'`"</userinput></screen> 26 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 28 href="../x86_64/flags.xml" 29 xpointer="xpointer(//*[@os='e'])"/> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 href="../x86_64/flags.xml" 33 xpointer="xpointer(//*[@os='f'])"/> 34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../x86_64/flags.xml" 37 xpointer="xpointer(//*[@os='g'])"/> 38 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 href="../x86_64/flags.xml" 41 xpointer="xpointer(//*[@os='h'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 44 href="../x86_64/flags.xml" 45 xpointer="xpointer(//*[@os='i'])"/> 46 47 <screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc 25 <screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc 48 26 echo export BUILDN32=\""${BUILDN32}\"" >> ~/.bashrc 49 echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc 50 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bashrc 51 echo export LFS_HOST=\""${LFS_HOST}\"" >> ~/.bashrc</userinput></screen> 27 echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc</userinput></screen> 52 28 53 29 </sect1> -
cross-tools/ppc-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/linux-libc-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> -
cross-tools/sparc-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-libc-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/binutils.xml"/> -
cross-tools/sparc64-64-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64-64/linux-libc-headers.xml"/> -
cross-tools/sparc64-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables-multilib.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/linux-libc-headers.xml"/> -
cross-tools/sparc64/flags.xml
rfe884f4 r05806e8 22 22 xpointer="xpointer(//*[@os='c'])"/> 23 23 24 <screen os="d"><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen> 24 <screen os="f"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc 25 echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc 26 echo export GCCTARGET=\""${GCCTARGET}\"" >> ~/.bashrc</userinput></screen> 25 27 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 27 href="../x86_64/flags.xml" 28 xpointer="xpointer(//*[@os='e'])"/> 29 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../x86_64/flags.xml" 32 xpointer="xpointer(//*[@os='f'])"/> 33 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../x86_64/flags.xml" 36 xpointer="xpointer(//*[@os='g'])"/> 37 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 39 href="../x86_64/flags.xml" 40 xpointer="xpointer(//*[@os='h'])"/> 41 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../x86_64/flags.xml" 44 xpointer="xpointer(//*[@os='i'])"/> 45 46 <screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc 47 echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc 48 echo export GCCTARGET=\""${GCCTARGET}\"" >> ~/.bashrc 49 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bashrc 50 echo export LFS_HOST=\""${LFS_HOST}\"" >> ~/.bashrc</userinput></screen> 51 52 <para os="k">The following table gives the entires for different Sparc 64 capable 28 <para os="d">The following table gives the entires for different Sparc 64 capable 53 29 processors. Pick the processor that matches your system.</para> 54 30 55 <table os=" l">31 <table os="e"> 56 32 <title>List of architectures, target triplets, and recommended book</title> 57 33 <tgroup cols="2" align="center"> -
cross-tools/sparcv8-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/linux-libc-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/binutils.xml"/> -
cross-tools/x86-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-libc-headers.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> -
cross-tools/x86_64-64-chapter.xml
rfe884f4 r05806e8 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/flags.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables.xml"/>17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/variables.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64-64/linux-libc-headers.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/binutils.xml"/> -
cross-tools/x86_64-chapter.xml
rfe884f4 r05806e8 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" common/variables-multilib.xml"/>16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/flags.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/linux-libc-headers.xml"/> -
cross-tools/x86_64/flags.xml
rfe884f4 r05806e8 17 17 export BUILD64="-m64"</userinput></screen> 18 18 19 <para os="c">You will need to set your host target triplet for 32 bits:</para> 20 21 <screen os="d"><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen> 22 23 <para os="e">Let's perform a sanity check to prevent build issues. If our LFS_HOST matches our 24 target, we will get some failures during our cross-compile:</para> 25 26 <screen os="f"><userinput>if [ "${LFS_HOST}" = "${LFS_TARGET32}" ]; then \ 27 echo "Host and Target can't be the same." ; fi</userinput></screen> 28 29 <para os="g">If the above test gave you "Host and Target can't be the same", you will need to change your LFS_HOST to a 30 a different target triplet:</para> 31 32 <screen os="h"><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen> 33 34 <para os="i">Lets add the build flags to <filename>~/.bashrc</filename> to 19 <para os="c">Lets add the build flags to <filename>~/.bashrc</filename> to 35 20 prevent issues if we stop and come back later.</para> 36 21 37 <screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc 38 echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc 39 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bashrc 40 echo export LFS_HOST=\""${LFS_HOST}\"" >> ~/.bashrc</userinput></screen> 22 <screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc 23 echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc</userinput></screen> 41 24 42 25 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.