Hi,

I'm porting code that use dlopen and dlsym to load plug-ins.
I'm using the stable dlcompat library published by the Fink project.

The dlsym code can not correctly load exported symbols with an  underscore
and I am a bit confused about that.

 - are exported symbols in a bundle always with an underscore?
 - is there an link option to export symbols WITHOUT underscore?
 - is it the job of dlsym to add an underscore before trying to load
 the symbol with NSIsSymbolNameDefined?
 - actually what are we supposed to do : create a library with exported
symbols WITHOUT underscore an use the current dlcompat, or correct the
dlsym function to load exported symbols  WITH an underscore?

Thanks

Stephane Letz


Grame: Centre National de creation musicale
9, Rue du Garet
69001 Lyon
Tel: 04-72-07-37-00
Fax: 04-72-07-37-01
Web: www.grame.fr



_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to