building GMP on Solaris 10 x86

Torbjörn Granlund tg at
Tue Sep 9 15:04:04 UTC 2014

Tom Chien <tom.chien0 at> writes:

  forgot to give you this info
  # file       ELF 64-bit LSB dynamic lib AMD64 Version 1,
  dynamically linked, not stripped, no debugging information available
  # file libgmp.a
  libgmp.a:       current ar archive, 32-bit symbol table
  # pwd
I doubt very much that the actual members of the archive file are
32-bit.  The symbol table of the archive might be, whatever that means.
Don't let the 'file' command scare you.

I suggest that you try linking to that archive using a 64-bit compile
command.  It will fail if members are 32-bit.

If you want to be sure, use the 'ar' command to extract some random
object and perform the 'file' command on that.

Please encrypt, key id 0xC8601622

More information about the gmp-discuss mailing list