Inline assembler problems with XCode 1.5
Inline assembler problems with XCode 1.5
- Subject: Inline assembler problems with XCode 1.5
- From: "Martin Payne" <email@hidden>
- Date: Tue, 21 Dec 2004 13:04:12 -0000
- Importance: Normal
I have XCode version 1.5 (the latest version).
There seems to be a bug in XCode when you want to compile inline assembler - it doesn't let you. Does anyone know of a work-around / when this bug will be fixed?
My problem in more detail:
I want to compile some inline assembler which I have written in the usual way:
__asm {
li r17,3
};
for example.
However, when I compile my code I get the error:
error: asm blocks not enabled, use '-fasm-blocks'.
However, under Project Info | Styles (Active Build Styles) I have these options both ticked:
allow 'asm', 'inline, 'typeof'
Codewarrior style inline assembler
If I just compile a few lines of code from terminal using gcc 3.3 and -fasm-blocks then it works OK.
So, it appears to be a bug in XCode. Any chance of a fix? Is there anyway for me to type in my own options for gcc from within Xcode?
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004
_______________________________________________
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