making gmp-4.3.2 working on MacOSX 10.4.11
paul at leyland.vispa.com
Thu Aug 19 11:28:34 CEST 2010
On Thu, 2010-08-19 at 10:34 +0200, h f wrote:
> I've just fetched and unpacked 4.3.2 and performed the following:
> make check
> make tuneup
> which all seem to have completed successfully.
> Now, when I try to compile my test program I get the following:
> $ gcc bignum_test.c -lgmp
> /usr/bin/ld: can't locate file for: -lgmp
> collect2: ld returned 1 exit status
> Can you help me out, I've not got a clue on what to do to solve this.
Either "make install" to put the gmp library in the standard place so
the linker can find it, or use the -L switch to gcc to tell the linker
the location of your newly built library.
More information about the gmp-discuss