• 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
Xcode-way of using lipo to obtain universal binaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode-way of using lipo to obtain universal binaries


  • Subject: Xcode-way of using lipo to obtain universal binaries
  • From: Kaspar Fischer <email@hidden>
  • Date: Thu, 16 Feb 2006 17:29:52 +0100

Hi all,

My project uses a library, which itself is configured using
autoconf (./configure blabla). In order to build a universal
library, I generated, once on a PowerPC box, once on a Intel
box, the config.h file for the respective build.

(In other words, I went for the approach where you build the
library twice; doing all in one step using "-arch ppc -arch i386"
did not work for me as some files need not even be compiled
in one build...)

What is the best way to implement something like this in Xcode?
I have the following in mind:

- add two subprojects, one generating the ppc library,
  one the intel library
- add a shell script phase that calls lipo to unify them

Is this the way to go? Is there some info somewhere on
the web illustrating how best to do this? (I could not find
anything.) Can Xcode do the lipo step directly for me?

Thanks,
Kaspar
_______________________________________________
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: Xcode-way of using lipo to obtain universal binaries
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Beating XCode's key buffer
  • Next by Date: Re: Xcode-way of using lipo to obtain universal binaries
  • Previous by thread: Deprecated warnings for OT
  • Next by thread: Re: Xcode-way of using lipo to obtain universal binaries
  • Index(es):
    • Date
    • Thread