Re: Cross OS version UB development
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