32 bit builds

Michael Abshoff Michael.Abshoff at fsmath.mathematik.uni-dortmund.de
Wed Mar 14 23:16:37 CET 2007


Simpson, Kenneth wrote:
>
> Hi - how do you build a 32 bit library under Solaris 10
> on a 64 bit SPARC?
>
> I need to link gmp with other 32 bit libraries and amazingly
> there is no option to override default option of 64 bits.
>
> -- Ken

Hey Ken,

just use ABI=32 to set 32 bit mode.

Amazingly, you are not the first person with that problem. Something
similar came up yesterday or the day before, by the way. So spending 10
seconds googling "gmp solaris 32 bit" gives as first hit
http://www.gnu.org/software/gmp/manual/html_node/ABI-and-ISA.html which
explains what to do. Reading the documentation of a library seems to be a
good idea in general before asking people on the mailing list ;)

Cheers,

Michael



More information about the gmp-discuss mailing list