building GMP on Solaris 10 x86

Tom Chien tom.chien0 at
Thu Sep 4 15:17:40 UTC 2014

Hi Torbjorn,

i didn't do anything special, just

1) set path to include gcc and make, "/usr/sfw/bin" and "/usr/ccs/bin"
2) configure --prefix=/opt/gcc
3) make && make check && make install


On Thu, Sep 4, 2014 at 11:08 AM, Torbjörn Granlund <tg at> wrote:

> Tom Chien <tom.chien0 at> writes:
>   I'm trying to build the latest release 6.0.0a on Solaris 10 x86, the
>   resulting shared library, the ".so" files, iare 64-bit, at the same time,
>   the static archive library, the ".a" files, are 32-bit. I've tried with
>   both SunStudio 12.3 compiler and GCC 3.4, but the result is always the
>   same, 64-bit shared library and 32-bit static library. This mix causes
>   further trouble for any other software i'm trying to build that uses GMP.
>   What am i doing wrong?
> You need to tell us what you did.
> Please see the manual chapter on how to report bugs.
> Torbjörn
> Please encrypt, key id 0xC8601622

More information about the gmp-discuss mailing list