making gmp-4.3.2 working on MacOSX 10.4.11
Paul Leyland
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:
> Hi.
>
> I've just fetched and unpacked 4.3.2 and performed the following:
>
> ./configure
> make
> make check
> make tuneup
> ./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.
Paul
More information about the gmp-discuss
mailing list