• 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
Building a universal binary using non universal static libs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building a universal binary using non universal static libs


  • Subject: Building a universal binary using non universal static libs
  • From: Eyal Redler <email@hidden>
  • Date: Sat, 21 Dec 2013 20:45:33 +0200

Assuming I have a cocoa app that uses some static libraries and assuming the producer of the libraries is willing to build separate 32 and 64 bit versions but not a universal binary library. Can I use these libraries to produce a universal binary app using xcode.
I tried looking for ways to conditionally link the app to make it use this library when linking the 32 bit and the other when building the 64 bit - but couldn't find anything.

I also thought maybe I can somehow fuse the libraries myself using one of the available tools but I'm not sure which one applies (lipo?)

Thanks,

Eyal Redler
------------------------------------------------------------------------------------------------
"If Uri Geller bends spoons with divine powers, then he's doing it the hard way."
--James Randi
www.eyalredler.com


 _______________________________________________
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: Building a universal binary using non universal static libs
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Xcode 5.0.2 Documentation Navigator not displaying 10.8 docs
  • Next by Date: Re: xcodebuild sdk version mismatch
  • Previous by thread: Re: xcodebuild sdk version mismatch
  • Next by thread: Re: Building a universal binary using non universal static libs
  • Index(es):
    • Date
    • Thread