Re: linking with a PEF stub library
Re: linking with a PEF stub library
- Subject: Re: linking with a PEF stub library
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 16 Nov 2004 19:32:59 -0700
On Nov 16, 2004, at 4:41 PM, Craig Knelsen wrote:
I'm trying to build a Carbon application in Xcode 1.2 that calls a C
function in a PEF shared library. I added the associated PEF stub
library to the project as an External Framework but when I build the
application in deployment mode, it fails because it cannot find that C
function implemented by the PEF shared library. The library is
provided by a third party that does not provide an equivalent dyld
library. How do I make this work?
You can't directly link to it. The linker can not link Mach-O and PEF
code together, and neither GCC nor the linker support generating PEF
files. You may, however, be able to load the library in code using
CoreFoundation's CFBundle API. Good luck.
Is there a tool I can use to view the contents of PEF libraries under
OS X?
Try using PEFViewer, which is installed by the Xcode installer in
/Developer/Applications/Utilities.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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