我需要一些使用LLVM 的帮助
1) 我正在从这里下载CLANG和LLVMhttp://llvm.org/releases/download.html#3.6.0
2) 我正在编译CLANG和LLVM
3) 我遵循的步骤来自http://llvm.org/docs/GettingStartedVS.html#an-使用llvm工具链的示例
clang -c hello.c -emit-llvm -o hello.bc
-生成hello.bc
lli hello.bc
-出现此错误失败
LLVM ERROR: Incompatible object format!
Stack dump:
0. Program arguments: lli.exe hello.bc
我在Windows中执行此操作。有人能帮忙吗?
c被编译为与Windows不兼容的EOF格式跟随代码帮助我通过了比特币
lli -mtriple=i686-pc-windows-cpu-elf hello.bc