[LLVMdev] llc: for the -march option: : Cannot find option named 'c'!
criswell at cs.uiuc.edu
Tue Nov 18 09:08:06 CST 2008
Johan Cockx wrote:
> Is any specific configuration needed to use the -march=c option to llc? I am getting an error:
To enable it, you can rerun the configure script and specify it
--enable-targets=all or --enable-targets=cbe. You will probably want
to add your x86_64 in there as well, which I think would be
-- John T.
> $ llc -march=c hello.bc
> llc: for the -march option: : Cannot find option named 'c'!
> $ llc --version
> Low Level Virtual Machine (http://llvm.org/):
> llvm version 2.4
> Optimized build with assertions.
> I have used configure --enable-targets=host-only. I tried --enable-targets=x86_64,c but got "configure: error: Unrecognized target c".
More information about the LLVMdev