Building 32bits GMP on a x86_64 Linux system
Torbjorn Granlund
tg at gmplib.org
Thu Dec 3 14:23:20 CET 2009
Yann Droneaud <yann at droneaud.fr> writes:
I'm trying to build a 32bit version of GMP in a 32bit system (chroot)
installed on a x86_64 system. And i'm using 'linux32' to change
personality, so that programs run on a fake 32bit system.
But when running ./configure in this environment, it found a
athlon64-unknown-linux-gnu. I have the same result in the 64bit "native"
environnement:
running config.guess from the x86_64,
$ ./config.guess
athlon64-unknown-linux-gnu
$ ./configfsf.guess
x86_64-unknown-linux-gnu
Then adding linux32:
$ linux32 ./config.guess
athlon64-pc-linux-gnu
$ linux32 ./configfsf.guess
i686-pc-linux-gnu
Please see the text under AMD64 at http://gmplib.org/manual/ABI-and-ISA.html.
(If you have further questions, please direct them to gmp-discuss.
This list is mainly for bug reports.)
--
Torbjörn
More information about the gmp-bugs
mailing list