• 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: Cross OS version UB development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross OS version UB development


  • Subject: Re: Cross OS version UB development
  • From: Eric Albert <email@hidden>
  • Date: Sat, 24 Feb 2007 15:41:05 -0800

On Feb 24, 2007, at 3:07 PM, Steve Checkoway wrote:

On Feb 24, 2007, at 11:53 AM, Eric Albert wrote:

I've yet to see a project which couldn't be made to build universal in Xcode via a single target. Some cases require a bit of work, but it's always possible.

If you have an existing (Makefile based) project that uses different files depending on the architecture, such as ffmpeg, then multiple targets was the only way I found to make it work. On top of that, I had to use install_name_tool to make the install names the same before lipoing them together.

You can fix that by taking the architecture-specific files and surrounding their contents with #if __i386__/#endif, etc. It's a bit gross, but it works really well.


-Eric

_______________________________________________
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


References: 
 >Cross OS version UB development (From: "Theodore H. Smith" <email@hidden>)
 >Re: Cross OS version UB development (From: John Daniel <email@hidden>)
 >Re: Cross OS version UB development (From: Shawn Erickson <email@hidden>)
 >Re: Cross OS version UB development (From: John Daniel <email@hidden>)
 >Re: Cross OS version UB development (From: Shawn Erickson <email@hidden>)
 >Re: Cross OS version UB development (From: "Alexander v. Below" <email@hidden>)
 >Re: Cross OS version UB development (From: Andreas Wittenstein <email@hidden>)
 >Re: Cross OS version UB development (From: Shawn Erickson <email@hidden>)
 >Re: Cross OS version UB development (From: Eric Albert <email@hidden>)
 >Re: Cross OS version UB development (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Cross OS version UB development
  • Next by Date: Stderr in red
  • Previous by thread: Re: Cross OS version UB development
  • Next by thread: Re: Cross OS version UB development
  • Index(es):
    • Date
    • Thread