Ken Moffat wrote:
Some people might prefer that you ask this on cross-lfs.
i could not find the support mailing list for cross lfs
Which particular version of the CLFS book are you following (probably
x86_64, but which date, and Multilib or Pure-64 ?
What are your current values for LFS_HOST and LFS_TARGET ?
Ken
the book is labeled : Version CLFS-SVN-20051212-x86_64-Multilib
i think i have fixed this already, however, it maybe wrong. The
configure command in the book is
CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
../gcc-4.0.2/configure --prefix=/tools --libdir=/tools/lib64 \
--build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
--with-local-prefix=/tools --enable-long-long --enable-c99 \
--enable-shared --enable-threads=posix --enable-__cxa_atexit \
--disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch
after looking at it I altered the value for --host to ${LFS_TARGET32}
this appears to have compiled better. As a reference my .bashrc contains
the following exports
export LFS_TARGET="x86_64-pc-linux-gnu"
export BUILD32="-m32"
export BUILD64="-m64"
export LFS_TARGET32="i686-pc-linux-gnu"
export LFS_HOST="i686-cross-linux-gnu"
export CC="x86_64-pc-linux-gnu-gcc"
export CXX="x86_64-pc-linux-gnu-g++"
export AR="x86_64-pc-linux-gnu-ar"
export AS="x86_64-pc-linux-gnu-as"
export RANLIB="x86_64-pc-linux-gnu-ranlib"
export LD="x86_64-pc-linux-gnu-ld"
export STRIP="x86_64-pc-linux-gnu-strip"
Again, sorry for posting it in the LFS section, if you can direct me to
the CLFS section this would be appreciated.
Cheers,
Justin
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page