Re: Can't tell build configurations to use different libraries
Re: Can't tell build configurations to use different libraries
- Subject: Re: Can't tell build configurations to use different libraries
- From: Eric Albert <email@hidden>
- Date: Fri, 19 Aug 2005 02:33:13 -0700
On Aug 18, 2005, at 11:22 PM, Dix Lorenz wrote:
On 19.08.2005, at 04:12, Scott Tooker wrote:
Right now the only way to workaround the problem is to pass in the
library in via "Other Linker Flags" to have the appropriate
library linked in.
We are aware of the limitation that configurations cannot use
different sets of files when building, and want to fix it in a
future release.
Oh, and while you're busy doing that: how about different files for
different architectures? My files with Altivec-Code shouldn't be
included in my i386 builds and my future files with SSE-Code
shouldn't be in PPC-Builds. It's relatively simple to bracket the
whole code in the file with #if __VEC__ but I think it's ugly and
if you don't have the source that won't work.
If you don't have the source, you don't have a compilation problem;
you have a linker problem. If you want to link in different files
for different architectures, you can use OTHER_LDFLAGS_i386 and
OTHER_LDFLAGS_ppc to specify those files. See p.19 of the Universal
Binary Programming Guidelines.
Hope this helps,
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