[cfe-users] clang and GNU arm assembly code

David Blaikie dblaikie at gmail.com
Mon Jan 28 16:35:48 PST 2013


On Mon, Jan 28, 2013 at 4:29 PM, Ashi <ashi08104 at gmail.com> wrote:
> I have seen the -no-integrated-as in the manual, but how can I specify the
> particular assembler to clang?

I'm not sure if/how you can - I assume it just uses the system 'as' in
the same way it uses the system linker (ld), etc...

> And does it also apply to llvm-gcc?

Not sure - llvm-gcc is dead.

> 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
>> >
>
>



More information about the cfe-users mailing list