• 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: Enable Ativec for release build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable Ativec for release build


  • Subject: Re: Enable Ativec for release build
  • From: Ian Jackson <email@hidden>
  • Date: Sat, 23 Aug 2008 21:32:30 +1200

OK,

Well I had already triple checked the Enable Altivec Extensions setting was ticked in both places, but then during your procedure of pasting the settings into a blank document, I noticed that for the release build, GCC_ALTIVEC_EXTENSIONS was set as NO. So I went back and ticked the Enable Altivec Extensions button which had become unticked since I checked it.

Either I'm going mad, or ticking the box wasn't actually doing anything before this magic copy/paste procedure.

Thanks for your help.

Ian.


On 23/08/2008, at 3:39 AM, Fritz Anderson wrote:

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
References: 
 >Enable Ativec for release build (From: Ian Jackson <email@hidden>)
 >Re: Enable Ativec for release build (From: Fritz Anderson <email@hidden>)

  • Prev by Date: source file rename doesn't affect file on disk
  • Next by Date: Re: QT Movie View and Interface Builder 3.1
  • Previous by thread: Re: Enable Ativec for release build
  • Next by thread: Re: Enable Ativec for release build
  • Index(es):
    • Date
    • Thread