Help requested

Ernst Berg ernst_berg at sbcglobal.net
Wed Mar 7 21:46:23 CET 2012


 These two replies solved the problem Marc

 Thanks.  




________________________________
From: Marc Glisse <marc.glisse at inria.fr>
To: gmp-discuss at gmplib.org
Cc: Ernst Berg <ernst_berg at sbcglobal.net>
Sent: Wed, March 7, 2012 12:03:51 PM
Subject: Re: Help requested

On Wed, 7 Mar 2012, Marc Glisse wrote:

> Ah, now I see why you tried -static. If you want only gmp linked statically, 
>you can use:
> -Bstatic -lgmp -Bdynamic

Oups, sorry, those are linker options, for gcc, you need to spell it:
-Wl,-Bstatic -lgmp -Wl,-Bdynamic

> or directly the file name:
> /usr/local/lib/libgmp.a

-- Marc Glisse


More information about the gmp-discuss mailing list