building GMP on Solaris 10 x86

Tom Chien tom.chien0 at
Tue Sep 9 03:06:23 UTC 2014

Torb/Will, thanks for the link, here's detail

1) the version i'm trying to build is 6.0.0a
2&3) i don't have a sample program to use GMP, in fact the reason i'm
building GMP is because it is a pre-requisite for many other software such
as GCC itself, the problem i'm having is that when built, the shared
library is 64-bit  and at the same time the static library are 32-bit, the
GMP build itself i believe is sucessful, it's the fact that when building
other software that use the GMP installation i built produces errors such
as "wrong elfclass" makes me think i didn;t built GMP correctly
4&5) none
6) configure --prefix=/opt/gmp
7) i have attached the output, the attachment file name is "configure.log"
# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
SunOS <hostname> 5.10 Genric_150401-01 i86pc i386 i86pc
# ./config.guess
# ./configfsf.guess
11) gzip'ed config.log is attached as well, though i don't know if the
issue i'm having is related to configure or not
12) none

Thanks very much!

On Fri, Sep 5, 2014 at 8:13 AM, Will Galway <galway at> wrote:

> Please refer to the "Reporting Bugs" section of the GMP manual
> There you'll find a description of what information you should provide.
> -- Regards, Will
> On 2014-09-04 20:38, Tom Chien wrote:
>> Could you let me know what information i should provide? maybe it's
>> something about my environment that myself didn't even know to be
>> relevant...what i listed is literarily all i did.
>> On Thu, Sep 4, 2014 at 4:03 PM, Torbjörn Granlund <tg at> wrote:
>>  Tom Chien <tom.chien0 at> writes:
>>>    i didn't do anything special, just
>>>    1) set path to include gcc and make, "/usr/sfw/bin" and "/usr/ccs/bin"
>>>    respectively
>>>    2) configure --prefix=/opt/gcc
>>>    3) make && make check && make install
>>> Something is special, or your conclusion aout library bittyness is
>>> incorrect, since usually people get successful builds.
>>> But you still don't provide adequate information for even making a wild
>>> guess about what the problem might be.
>>> I repeat: Send us the information we ask for.  We don't ask for it on a
>>> whim.
>>> Torbjörn
>>> Please encrypt, key id 0xC8601622
>>>  _______________________________________________
>> gmp-discuss mailing list
>> gmp-discuss at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 27276 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-log.txt.gz
Type: application/x-gzip
Size: 35072 bytes
Desc: not available
URL: <>

More information about the gmp-discuss mailing list