Help requested

Marc Glisse marc.glisse at inria.fr
Wed Mar 7 21:03:51 CET 2012


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