Hi,
In gcc, I’d use the following code to conditionally compile a .s file (pure assembler) for ARM:
.set device, 0
.set device, arm
.if device
…
.endif
This is failing with clang 3.0 / Xcode 4.2 for simulator builds. You can typically do a clean, build and it works, but second time it fails.
Is there an alternative I am missing or another way to pass preprocessor directives to the assembler?
Cheers,
Stu
Stuart Carnie, CTO
manomio | in retro we trust!
Stuart Carnie, CTO
manomio | in retro we trust!