[Mono-dev] ERROR COMPILING MONO with LLVM for ARM

ajonwa ajonwa ajonwa at gmx.com
Thu Nov 10 09:59:41 EST 2011


Hello All,

 I am trying to compile mono for arm with LLVM enabled using Scrathbox. My configuration is ./configure --enable-loadedllvm --disable-mono-debugger CFLAGS=-DARM_FPU_NONE --disable-mcs-build . I am using mono's branch of LLVM and which is included PATH. I also exported MONO_USE_LLVM=1.
 However, I get this error:
 mini-llvm-cpp.cpp: In function 'LLVMOpaqueExecutionEngine* mono_llvm_create_ee(LLVMOpaqueModuleProvider*, unsigned char* (*)(LLVMOpaqueValue*, int), void (*)(LLVMOpaqueValue*, void*, void*), void (*)(void*))':
 mini-llvm-cpp.cpp:465: error: 'LLVMInitializeX86Target' was not declared in this scope

 I don't understand why it is looking to LLVMInitializeX86Target while being compiled for arm architecture. 



 --ajonwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111110/488d89fa/attachment.html 


More information about the Mono-devel-list mailing list