Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -fasm-blocks not working properly for ppc in Xcode 3.2?



At 7:25 PM -0700 8/31/09, Michael Dautermann wrote:

On Monday, August 31, 2009, at 06:54PM, "Jim Wintermyre" <email@hidden> 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'".


Hi Jim,

I had a similar problem like this with a project I'm working on, when I moved up to Snow Leopard + XCode 3.2.

Make sure your assembly flags include a "-fmacho" format specifier and see if that does the trick.

Thanks for the reply - sorry for the dumb question but how exactly do I set that?


Thanks,
Jim
_______________________________________________
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: 
 >-fasm-blocks not working properly for ppc in Xcode 3.2? (From: Jim Wintermyre <email@hidden>)
 >Re: -fasm-blocks not working properly for ppc in Xcode 3.2? (From: Michael Dautermann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.