Index: BOOK/chroot/mips64-chapter.xml
===================================================================
--- BOOK/chroot/mips64-chapter.xml (revision e0e40d3b1473a5aba08a1bb46d1746c0016c4152)
+++ BOOK/chroot/mips64-chapter.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
@@ -19,4 +19,5 @@
+
Index: BOOK/chroot/mips64/flags.xml
===================================================================
--- BOOK/chroot/mips64/flags.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
+++ BOOK/chroot/mips64/flags.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
@@ -0,0 +1,32 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+ Build Flags
+
+ We will need to setup target specific flags for the compiler
+ and linkers.
+
+export BUILD32="-mabi=32"
+export BUILDN32="-mabi=n32"
+export BUILD64="-mabi=64"
+
+ You will need to set your host target triplet for o32 bit:
+
+export LFS_TARGET32="`echo ${MACH_TYPE}| sed -e 's/64//g'`"
+
+ To prevent errors when you come back to your build, we will export these
+ variables to prevent any build issues in the future:
+
+echo export BUILD32=\""${BUILD32}\"" >> ~/.bash_profile
+echo export BUILDN32=\""${BUILDN32}\"" >> ~/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
+echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile
+
+
Index: BOOK/chroot/sparc64-chapter.xml
===================================================================
--- BOOK/chroot/sparc64-chapter.xml (revision e0e40d3b1473a5aba08a1bb46d1746c0016c4152)
+++ BOOK/chroot/sparc64-chapter.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
@@ -19,4 +19,5 @@
+
Index: BOOK/chroot/sparc64/flags.xml
===================================================================
--- BOOK/chroot/sparc64/flags.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
+++ BOOK/chroot/sparc64/flags.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
@@ -0,0 +1,30 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+ Build Flags
+
+ We will need to setup target specific flags for the compiler
+ and linkers.
+
+export BUILD32="-m32"
+export BUILD64="-m64"
+
+ You will need to set your host target triplet for 32 bit:
+
+export LFS_TARGET32="sparcv9-unknown-linux-gnu"
+
+ To prevent errors when you come back to your build, we will export these
+ variables to prevent any build issues in the future:
+
+echo export BUILD32=\""${BUILD32}\"" >> ~/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
+echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile
+
+
Index: BOOK/chroot/x86_64-chapter.xml
===================================================================
--- BOOK/chroot/x86_64-chapter.xml (revision e0e40d3b1473a5aba08a1bb46d1746c0016c4152)
+++ BOOK/chroot/x86_64-chapter.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
@@ -19,4 +19,5 @@
+
Index: BOOK/chroot/x86_64/flags.xml
===================================================================
--- BOOK/chroot/x86_64/flags.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
+++ BOOK/chroot/x86_64/flags.xml (revision 88acd8a008611e31bf6aae762a6c11519d4a58d0)
@@ -0,0 +1,30 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+ Build Flags
+
+ We will need to setup target specific flags for the compiler
+ and linkers.
+
+export BUILD32="-m32"
+export BUILD64="-m64"
+
+ You will need to set your host target triplet for 32 bit:
+
+export LFS_TARGET32="i686-pc-linux-gnu"
+
+ To prevent errors when you come back to your build, we will export these
+ variables to prevent any build issues in the future:
+
+echo export BUILD32=\""${BUILD32}\"" >> ~/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
+echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile
+
+