[cfe-users] clang and GNU arm assembly code

Ashi ashi08104 at gmail.com
Mon Jan 28 07:42:03 PST 2013


Hi, all.
I've some arm assembly code based on GNU as syntax, which can be compiled
under Ubuntu by *gcc*-*arm-linux-gnueabi* tool. Now I want to add support
for iOS to my code, but I failed under Xcode 4.3. I find the clang 3.1 in
Xcode doesn't parse my code, such as the comment in my code is after '@',
the assemble directive '.text' and so on. Later, I find Clang's integrated
assembler is Unified Syntax only, which is different from GNU as' syntax.
How can I make clang process my code without changing my code? Thanks!

Best regards!
ashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130128/7e816d8d/attachment.html>


More information about the cfe-users mailing list