Re: Trying to link with non-Mach-O file
Re: Trying to link with non-Mach-O file
- Subject: Re: Trying to link with non-Mach-O file
- From: Dave Thorup <email@hidden>
- Date: Thu, 27 Apr 2006 16:47:10 -0400
On Apr 27, 2006, at 3:40 PM, Chris Espinosa wrote: This is most likely a CFM shared library. You cannot link with it using Xcode, but you can write code that dynamically loads it and calls its entry points, using Apple's sample code CFM_MachO_CFM.
If it is a CFM shared library and you want to access it from a Mach-o application then the following article that I wrote recently might be of some help to you:
It describes how to go from Mach-o -> CFM -> Mach-o (likely what you need to do) which is the opposite of how the CFM_MachO_CFM sample works. That is, I explain how to access a CFM library from a Mach-o application while the CFM_MachO_CFM sample describes how to access a Mach-o library from a CFM application. Most of the steps are the same, but there are a few differences.
This library will not work on an Intel-based Mac.
It would work under Rosetta, but you could never use a CFM library with a native Intel application. _____________________________
Dave Thorup Software Engineer
HyperSpell - Check spelling in Mac OS X from any application.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden