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