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

John Criswell criswell at cs.uiuc.edu
Tue Nov 18 07:08:06 PST 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 
--enable-targets=cbe,x86_64.

-- 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".
>
> --Johan
>
>   




More information about the llvm-dev mailing list