Re: NSModule question (and partial answer)
Re: NSModule question (and partial answer)
- Subject: Re: NSModule question (and partial answer)
- From: Thomas Lachand-Robert <email@hidden>
- Date: Mon, 15 Apr 2002 19:05:56 +0200
Le lundi 15 avril 2002, ` 06:26 , Timothy J. Wood a icrit :
On Monday, April 15, 2002, at 04:38 AM, Thomas Lachand-Robert wrote:
1/ Is it possible to retrieve the whole signature of the function by a
similar way? (types of arguments, etc.)
In the general case, no. C doesn't store the type signature in the
symbol name and if you do an install build the debug symbols will get
stripped.
That's what I understood, thanks for the confirmation.
2/ I actually need to retrieve symbol in a statically linked library
(GSL precisely). But the previous code doesn't work, even when my
program is linked with GSL and direct calls to GSL functions work?
Is GSL using C++? Run nm on the GSL library and try to find the symbol
name you are looking up -- make sure that you 'spell' it exactly the same
including any name mangling.
No it's not. It is C. I tried with GMP too. I believe it's related to the
fact that these routines are in a different library (even though it is
statically linked).
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.