Displaying 2 results from an estimated 2 matches for "mvmcompiler".
Did you mean:
armcompiler
2010 Jul 14
0
[LLVMdev] How to cope with 'undefined reference' errors taken the example of building VMkit x86_64 version
...ary, where it is
undefined, U-symbol, in terms of nm(1).
Solution is to add in USEDLIBS line name of B library immediately after name
of A, for every such A for which linker gets so confused.
***
Example for VMkit:
USEDLIBS = J3.a Classpath.a J3Compiler.a Allocator.a \
Mvm.a MvmCompiler.a $(GCLIB).a CommonThread.a
make output:
<<<
make[1]: Leaving directory `/home/mn/tests/VMkit/vmkit/lib'
make[1]: Entering directory `/home/mn/tests/VMkit/vmkit/tools/vmjc'
llvm[1]: Compiling vmjc.cpp for Debug build
llvm[1]: Linking Debug executable vmjc
/home/mn/tests/VMkit/vmki...
2010 Jun 29
1
[LLVMdev] problems building vmkit
...] Error 2
make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/tools'
make: *** [all] Error 1
> ls Release/lib/
Allocator.bc J3.bc MMTKAlloc.bc MMTKRuntime.bc
StaticGCPass.so
Classpath.bc J3Compiler.bc MMTk.bc Mvm.bc
CommonThread.bc JITGCPass.so MMTKMagic.so MvmCompiler.bc
3) For
./configure --with-llvmsrc=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-llvmobj=/home/zoewolk/RESEARCH/LLVMSystem/llvm
--with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib
--with-gnu-classpath-libs=/home/zoewolk/RESEARCH/classpath-0.97.2/lib
I get:
llvm[1]: Compiling...