llc: for the -march option: : Cannot find option named 'c'!

Is any specific configuration needed to use the -march=c option to llc? I am getting an error:

$ 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”.

–Johan

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 --enable-targets=cbe,x86_64.

-- John T.