Sorry to be asking what some may seem obvious, but I dont understand how to tackle the following.
I have intstalled GMP's bignum library. It gives no syntax error messages so but when i compile the line
$ gcc -c gmpTest.c -lgmp -o gmpTest
I get
-lgmp: linker input file unused because linking not done
and with this
$ gcc gmpTest.c -lgmp -o gmpTest
i get
/usr/bin/ld: can't locate file for: -lgmp
collect2: ld returned 1 exit status
now in my directory there is now lgmp file, but the gmp manual suggests it is linked this way.
Can anyone help?
Many thanks
Drew
I have intstalled GMP's bignum library. It gives no syntax error messages so but when i compile the line
$ gcc -c gmpTest.c -lgmp -o gmpTest
I get
-lgmp: linker input file unused because linking not done
and with this
$ gcc gmpTest.c -lgmp -o gmpTest
i get
/usr/bin/ld: can't locate file for: -lgmp
collect2: ld returned 1 exit status
now in my directory there is now lgmp file, but the gmp manual suggests it is linked this way.
Can anyone help?
Many thanks
Drew