Re: Enable Ativec for release build
Re: Enable Ativec for release build
- Subject: Re: Enable Ativec for release build
- From: Fritz Anderson <email@hidden>
- Date: Fri, 22 Aug 2008 10:39:10 -0500
On 22 Aug 2008, at 4:32 AM, Ian Jackson wrote:
I have a few lines of altivec type code. I've included the
accelerate framework, and imported it into the relevant header. I
have ticked the "Enable Altivec Extensions" checkbox in both
configurations. Everything goes fine for my debug build and the
altivec stuff seems to do what it's supposed to, but as soon as I
switch to release build, I get errors about my vector declarations
etc. Under the architectures field, I removed any mention of i386
and left only ppc stuff. My two configurations now look identical,
but still the release configuration doesn't build.
I haven't read the previous discussions, so I can't build on them, but
if I were you, I'd double-check that the Enable Altivec Extensions
build setting is set in the Release target, as well as in the Debug
target.
Using the Get Target Info inspector, find the Altivec check box, and
switch the Configuration: popup between Release and Debug. The box
should be checked in both cases. Also, the Architectures list should
be PPC-only in both cases.
Failing that, set one configuration, click in the build settings list,
Select All, and paste the result into a blank document. Do the same,
into another blank document, with the other configuration. Do a file
comparison of the two, and audit the differences.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now Available -- http://x3u.manoverboard.org/
_______________________________________________
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