unable to compile on solaris9

Carlson, Judy jcarlson at cincom.com
Thu Jun 2 14:29:52 CEST 2011

Thanks, Marc.

Can you tell us how to get opencobol's library NOT to link with gmp?

We'll try to get gcc downloaded rather than using cc!

Also, should we drop "--build=ultrasparc-sun-solaris2.9 ABI=32" from the
gmp configure?

Judy Carlson

-----Original Message-----
From: Marc Glisse [mailto:marc.glisse at inria.fr] 
Sent: Thursday, June 02, 2011 2:40 AM
To: Carlson, Judy
Cc: gmp-discuss at gmplib.org
Subject: RE: unable to compile on solaris9

On Wed, 1 Jun 2011, Carlson, Judy wrote:

> 2.  The parameters given to gmp configure:
>    ./configure --disable-shared

opencobol apparently builds a shared library. So you should either build
shared library of gmp, or tell opencobol not to build a shared library
tell opencobol's library not to link with gmp, but that's a bit harder).

Note that the compiler you are using is an antiquity best left in the 
museum. Oracle provides more recent versions for free (check which ones 
support solaris 9).

Marc Glisse

More information about the gmp-discuss mailing list