Compiling error, "cannot find -lgmp"

Patrick Pelissier patrick.pelissier at gmail.com
Sat Oct 1 10:46:33 CEST 2005


> gcc -o test test.c -I /usr/local/gmp-4.1.4 -L /usr/local/gmp-4.1.4 -lgmp
> but for both I got a "cannot find -lgmp"
 gcc -o test test.c -I /usr/local/gmp-4.1.4/include -L
/usr/local/gmp-4.1.4/lib -lgmp

--
 Patrick Pelissier


More information about the gmp-bugs mailing list