Johan Cockx
2008-Nov-18 13:50 UTC
[LLVMdev] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081118/743aed74/attachment.html>
John Criswell
2008-Nov-18 15:08 UTC
[LLVMdev] llc: for the -march option: : Cannot find option named 'c'!
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 > >
Apparently Analagous Threads
- [LLVMdev] llvm-gcc compilation error: BUILT_IN_ADJUST_TRAMPOLINE undeclared
- [LLVMdev] llvm-gcc compilation error: BUILT_IN_ADJUST_TRAMPOLINE undeclared
- [LLVMdev] llvm-gcc compilation error: BUILT_IN_ADJUST_TRAMPOLINE undeclared
- [LLVMdev] A question about 'llc -march=c'
- Cannot play soundfile, doesnt find it or wrong format? Weird, worked yesterday! :-)