Hello everyone,
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!”
What’s wrong?
Thanks
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.
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@free.fr>:
Hi Heyu Zhu,
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?
that's right - you have to use the system assembler and linker.
Best wishes,
Duncan.