• 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: -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?


  • Subject: Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
  • From: Jim Wintermyre <email@hidden>
  • Date: Mon, 31 Aug 2009 22:36:33 -0700

At 8:54 PM -0700 8/31/09, Chris Espinosa wrote:
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.

Done. Radar # is 7186007. Test project included.

Any workaround?

Add -fasm-blocks to Other C Flags. You may need to do this in a Conditional Build Setting for ppc only.

That works!

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: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
  • Next by Date: Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
  • Previous by thread: Re: -fasm-blocks not working properly for ppc in Xcode 3.2?
  • Next by thread: compile OpenCL kernels in Xcode
  • Index(es):
    • Date
    • Thread