The configure fails inside chroot in chapter 6.
configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
in this configuration expects 64 bits.
You appear to have set $CFLAGS, perhaps you also need to tell GMP the
intended ABI, see "ABI and ISA" in the manual.
I'm cross compiling i686 on an x86_64 host using /usr/bin/setarch
linux32. I needed to add ABI=32 to the configuration to make it work.
ABI=32 CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \
CXX="g++ -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \
./configure --prefix=/usr --enable-cxx –enable-mpbsd
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org