[cfe-users] clang and GNU arm assembly code

Ashi ashi08104 at gmail.com
Mon Jan 28 16:29:31 PST 2013


I have seen the -no-integrated-as in the manual, but how can I specify the
particular assembler to clang? And does it also apply to llvm-gcc?


On Tue, Jan 29, 2013 at 12:21 AM, David Blaikie <dblaikie at gmail.com> wrote:

> You can disable the integrated assembler to fall back to the system one
> with -no-integrated-as I believe
>
> On Jan 28, 2013 7:43 AM, "Ashi" <ashi08104 at gmail.com> wrote:
> >
> > 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
> >
> > _______________________________________________
> > cfe-users mailing list
> > cfe-users at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130129/c6f77541/attachment.html>


More information about the cfe-users mailing list