[cfe-dev] Unable to conditionally compile ARM assember
Stuart Carnie
stuart.carnie at gmail.com
Sat Nov 19 13:14:55 PST 2011
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 <http://manomio.com/> | in retro we trust!*
*Stuart Carnie, CTO*
*manomio <http://manomio.com/> | in retro we trust!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111119/36dc38dc/attachment.html>
More information about the cfe-dev
mailing list