[LLVMdev] linker error (llvm-config, eclipse)

Sam Bishop sam at bishop.dhs.org
Sun Mar 9 08:11:45 PDT 2008


Hi, Stefan!

Stefan Oestreicher wrote:
> This is the full command that's executed to link the project and its output:
> 
> g++-4.2 `/home/stefan/projects/llvm/Debug/bin/llvm-config --ldflags
> --libs` `pkg-config --libs glibmm-2.4` -o"mojo"  ./src/mojo.o

The `llvm-config ...` and `pkg-config ...` sections need to be at the 
end.  That ought to get you going.

Sam



More information about the llvm-dev mailing list