maven jdk x86 mingw
- compile llvm 3.4 or superior
- Update the variable
LLVM_DIRinllvm\generate-cmake.cmdwith the path to the output directory of llvm
Let's build librobovm-llvm.
cd llvm
clean.md
generate-cmake.cmd
build.cmd
The output files are in llvm/target
librobovm-llvm.dlllibrobovm-llvm.dll.a
Because, we compile librobovm-llvm.dll wih mingw, it has the following dependencies:
- libcord-1.dll
- libgc-1.dll
- libgcc_s_sjlj-1.dll
- libstdc++-6.dll
- pthreadGC2.dll
Let's build robovm-llvm.jar.
You must use a 32 bits JDK to execute the tests
mvn package
The output files are in llvm/target:
robovm-llvm.jar
Note : the jar file includes the c library.
- libgc
- libatomic
- pthread
- dlfcn -> included in code ???
- openssl
Most of the compiled prerequesites are available.