Displaying 1 result from an estimated 1 matches for "gclib".
Did you mean:
cclib
2010 Jul 14
0
[LLVMdev] How to cope with 'undefined reference' errors taken the example of building VMkit x86_64 version
...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/vmkit/Debug/li...