• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: linking with a PEF stub library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: linking with a PEF stub library
      • From: daniel <email@hidden>
References: 
 >linking with a PEF stub library (From: Craig Knelsen <email@hidden>)

  • Prev by Date: Re: debugging multiple executables
  • Next by Date: Re: Making my release build
  • Previous by thread: linking with a PEF stub library
  • Next by thread: Re: linking with a PEF stub library
  • Index(es):
    • Date
    • Thread