How to compile GMP from source?

Markus Heiler shevegen at gmail.com
Mon May 28 22:38:43 CEST 2012


> Actually, it looks like you set CFLAGS to an empty string instead of not
> setting it at all. Your compiler produces 64 bit binaries by default, and
> your CFLAGS prevents gmp from passing it the -m32 flag. And you seem to have
> set ABI=32 (or your system is 32 bits), so it does not try 64 bits.
>
> Well, that's just a guess, but it may contain enough hints to fix the issue.
>
> --
> Marc Glisse

Yep, that fixed it :)

-m32 in CFLAGS. GMP compiled now.

Thank you!


More information about the gmp-discuss mailing list