Changeset 8672967 for BOOK/cross-tools/x86_64
- Timestamp:
- Feb 21, 2006, 1:43:21 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4c23a32
- Parents:
- 4eb9629
- Location:
- BOOK/cross-tools/x86_64
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86_64/flags.xml
r4eb9629 r8672967 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.