Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
- Subject: Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
- From: Chris Espinosa <email@hidden>
- Date: Mon, 31 Aug 2009 20:54:43 -0700
On Aug 31, 2009, at 6:54 PM, Jim Wintermyre wrote:
I have some inline assembly that is only built for the PPC
architecture. It uses the CodeWarrior syntax, so I have the
"CodeWarrior-Style Inline Assembly" setting checked (which passes -
fasm-blocks to gcc). I'm using GCC 4.0 and the 10.4 SDK. This
project builds fine under Xcode 3.1.3/Leopard.
Building the same project with no changes under Xcode 3.2/Snow
Leopard produces an error on the file with the inline assembly,
saying "error: asm blocks not enabled, use '-fasm-blocks'".
Sure enough, when I look at the verbose output for the file, -fasm-
blocks is NOT being passed to gcc in Xcode 3.2.
I also reproduced this using a simple test project based on the
Carbon app template, so I don't think it's some odd setting in my
project.
Is this a known issue?
No. Please file a Radar, and include your project file if possible,
or at least the build transcript.
Any workaround?
Add -fasm-blocks to Other C Flags. You may need to do this in a
Conditional Build Setting for ppc only.
Chris
_______________________________________________
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