search for: lgtest_main

Displaying 2 results from an estimated 2 matches for "lgtest_main".

Did you mean: gtest_main
2011 Dec 13
1
[LLVMdev] [PATCH] utils/unittest: Consistency of gtest and gtest_main libs.
$(llvm-config --libs | tr " " "\n" | grep gtest) returns: -lgtest_main -lgtest instead of non-valid: -lLLVMgtest_main -lLLVMgtest It also fixes: $(ld): cannot find -lLLVMgtest $(ld): cannot find -lLLVMgtest_main --- unittests/Makefile.unittest | 2 +- utils/llvm-build/llvmbuild/componentinfo.py | 4 ++-- utils/llvm-build/llvmbuild/main.py...
2016 Mar 25
0
llvm-config linking too much?
When trying to link a program with LLVM on Linux, I'm getting an error message that main is defined twice. As far as I can see, the problem is that 'llvm-config --libs' says -lgtest_main, which seems to be some sort of test file that contains its own definition of main. What's the recommended solution to this, or is there something I'm missing? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attac...