Hello, all!

Please help me to link compiled *.a modules to *.dylib library.

Currently linked file has runtime errors with no static functions found from .a 
module by .dylib library:

+[NSString stringStaticFunction]: unrecognized selector sent to class 0x12345678
+[NSString stringStaticFunction]: unrecognized selector sent to class 0x12345678
+[NSString stringStaticFunction]: unrecognized selector sent to class 0x12345678
...
etc.

I'm try to use '--whole-archive' linker flag, but it doesn't help.

Some peoples (http://savannah.gnu.org/support/?105489) say about this flag is 
doesn't actual on OSX.

Convertion .a->.dylib and .dylib->.a is also not possible: i must use the 
result dylib in a big project and i don't want to export a very wide classes 
set from .a module.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to