gmp-5.0.1 installation problem

Marc Glisse marc.glisse at
Wed Mar 17 11:14:10 CET 2010

On Wed, 17 Mar 2010, 038-0814 at wrote:

> t-bswap: fatal: /usr/sfw/lib/ wrong ELF class:

If you want a 32 bit version of GMP, check the doc on how to do that 

If you want a 64 bit version of GMP, you need to work around your broken 
gcc (strange, I thought Sun had fixed this in a patch, and the "sol_rpath" 
in the version number of gcc sounds likely to indicate the patch is 
installed), search the archives of this list for how to do that 
(LDFLAGS=-R/usr/sfw/lib/sparcv9 for instance).

Marc Glisse

More information about the gmp-bugs mailing list