site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Cannot recognize type of executable for CFBundle/CFPlugin ... Best regards Nicola _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Hi, CFPlugin and CFBundle are part of CF-lite, the open source "light" version of Core Foundation, which has been ported to Linux and Windows. I want to write a cross-platform application that uses plugins. How am I supposed to build a bundle/plugin under non-Darwin platforms? In particular, what is the equivalent of the bundle executable in these platforms? I have built a shared library libMyPlugin.so (in Linux), and have changed Info.plist's CFBundleExecutable to libMyPlugin.so, but when I run the application that loads the plugin I get the following error: Browsing the CF source code, I've noticed some "BINARY_SUPPORT_DLL" #define's, so I guess that there must be a way to load a shared library. But I can't figure out how. Any hint? (maybe this question is off-topic here, but I have found absolutely no information on the web) This email sent to site_archiver@lists.apple.com
participants (1)
-
Nicola Vitacolonna