Re: Compiling cctools in Codewarrior/PEF
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Oct 18, 2004, at 6:55 AM, Josh wrote: <sorry if this is a repost - I didn't see it posted the first time I emailed it...> I'm trying to compile the some of the prebinding libraries included in cctools using Codewarrior. Ultimately, I want to call unprebind() from a Carbon CFM app. The problem is that it compiles as a Mach-O static library (and I need it to be static) and I can't call that from a CFM app. The other option is to compile it as a Carbon PEF library, but I can't get codewarrior to do this (mwpefcc gives me all sorts of errors with the #include statements). Anyone have any experience or tips with this? Not really. Most developers have moved to Mach-O. Shantonu _______________________________________________ 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... Why can't you compile it as a bundle and load that? I believe that is the supported way of calling Mach-O code from CFM apps, no? What kind of errors? If it's problems with the #import statements, you may want to take a look at the odcctools project <http://www.opendarwin.org/projects/odcctools/>, which maintains a set of patches against cctools. for greater portability and ease of building. You probably want to apply the patches to some version of cctools released by Apple in a developer tools release, unlike the cctools snapshots they currently use. This email sent to site_archiver@lists.apple.com
participants (1)
-
Shantonu Sen