[cfe-dev] direct machine code generation for arm target
Benjamin Kramer
benny.kra at googlemail.com
Tue Sep 6 19:44:29 PDT 2011
On 06.09.2011, at 19:33, reed kotler wrote:
> Does anybody know the right incantation for having clang generate arm
> machine code without the
> need for gas or some other external assembler? I'm not concerned with
> the particular variant.
Pass "-integrated-as" to clang. The integrated assembler is still considered experimental for ARM-ELF so expect crashes and bugs ;)
Be aware that you're building arm code with x86 system headers, which can lead to nasty bugs too.
- Ben
More information about the cfe-dev
mailing list