Changeset 05806e8 for cross-tools/x86_64
- Timestamp:
- Feb 21, 2006, 1:43:21 AM (19 years ago)
- Children:
- 496be96
- Parents:
- fe884f4
- Location:
- cross-tools/x86_64
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.