Re: per-arch files
Re: per-arch files
- Subject: Re: per-arch files
- From: Frederick Cheung <email@hidden>
- Date: Mon, 16 Jan 2006 20:05:33 +0000
On 16 Jan 2006, at 17:46, Scott Fraser wrote:
On Jan 16, 2006, at 01:10 AM, Eric Albert wrote:
On Jan 15, 2006, at 6:01 PM, Steve Checkoway wrote:
I'm trying to make a universal binary framework out of ffmpeg and
I'm
having a few issues. The biggest problem seems to be that some files
need to be included only for ppc builds and other files need to be
included only for i386 builds. I'm not sure how to instruct Xcode to
only use those files with particular arches.
I'd like to do this without having to modify the source files if
possible so I don't want to edit each file and put in the correct
#ifdef.
There's no way to do this in Xcode today. I'd suggest filing a bug
report.
I have a similar problem. I need to link different third party
libraries for the PPC and X86 builds. The link step doesn't fail.
But, it issues a warning for each library that it does not match
the other CPU type. In this case, there is no source to ifdef. I
like to have "clean" builds, but I can live with two warnings.
I assume that this is also not yet handled in Xcode.
You can do this by adding a
LD_OTHERFLAGS_ppc -lFoo
LD_OTHERFLAGS_i386 -lBar
settings to your target, assuming you want the ppc version to link
with libFoo and the i386 to link with libBar
Fred
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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