• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSModule question (and partial answer)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: NSModule question (and partial answer) (From: "Timothy J. Wood" <email@hidden>)

  • Prev by Date: Re: NSModule question (and partial answer)
  • Next by Date: NSTextView Custom Class "Not Applicable"
  • Previous by thread: Re: NSModule question (and partial answer)
  • Next by thread: Documents with multiple windows
  • Index(es):
    • Date
    • Thread