[LLVMdev] how to compile asm output for x86 with Micorsoft's ML
ofv at wanadoo.es
Thu Jan 21 12:35:43 PST 2010
Jim Crafton <jim.crafton at gmail.com> writes:
> I looked around a bit but couldn't find anything. The example on the
> llvm site mentions being able to compile to C code, but when I try llc
> -march=c test.out
> it errors out with:
> error: invalid target 'c'.
> Registered Targets:
> x86 - 32-bit X86: Pentium-Pro and above
> x86-64 - 64-bit X86: EM64T and AMD64
By default, the cmake build generates Visual Studio project files for
the X86 target only. Take a look at
for learning how to build other targets.
IIRC, the C target is named CBackend.
More information about the llvm-dev