[LLVMdev] newbie qustion: how to generate machine code for target thumb?
Heyu Zhu
zhu.heyu at gmail.com
Wed Nov 4 17:07:57 PST 2009
Hi Duncan,
Is it to say llvm-2.5 has no assembler and linker for target thumb and
llvm-2.5 can only generate assembler file for the time being?
Thanks
2009/11/4, Duncan Sands <baldrick at free.fr>:
>
> Hi Heyu Zhu,
>
> I want to generate machine code for target thumb, so run
>> with bit code test.bc
>> llc -march thumb test.bc -filetype obj -o test.o
>> It doesn't generate test.o but show a message:
>> "target doesn't support generation of this file type!"
>>
>
> writing object code directly is not supported yet (though it is being
> worked
> on), so for the moment you should not use "-filetype obj". Without this
> option
> llc will generate assembler, which you will need to assemble using an
> appropriate assembler.
>
> Best wishes,
>
> Duncan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091105/dc5e18f9/attachment.html>
More information about the llvm-dev
mailing list