help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] Re: duplicate symbols complaint on Mac OS X 10.5.2


From: Ludovic Courtès
Subject: [Help-gnutls] Re: duplicate symbols complaint on Mac OS X 10.5.2
Date: Tue, 18 Mar 2008 21:01:29 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi,

David Reiser <address@hidden> writes:

> On Mar 18, 2008, at 5:32 AM, Ludovic Courtès wrote:

>> Can you try compiling something like:
>>
>>  #include <gmp.h>
>>
>>  void
>>  foo (mpz_t a, mpz_t b)
>>  {
>>    mpz_abs (a, b);
>>  }
>>
>> And then run:
>>
>>  $ nm -g the-file.o | grep mpz_abs

> It turns out I am incapable of accomplishing that.

Actually you just want to compile the file, not to link it and create an
executable.

So, assuming you copied the above code fragment in `the-file.c', then
you just need to compile it with:

  $ gcc -c the-file.c

After which you can run `nm' as noted above.

Thanks,
Ludovic.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]