Displaying 2 results from an estimated 2 matches for "90c573ca".
2011 Jan 08
2
[LLVMdev] Build a static-linked executable using llvm
Hello all,
I wanna build a static linked executable using llvm. But I failed.
My question is Can we use -static using llvm?
Thanks for any response.
Below is details
========
First I use
$ clang++ test.cc `llvm-config --cxxflags --ldflags --libs`
I works as usual. But if I use
$ clang++ test.cc `llvm-config --cxxflags --ldflags --libs` -static
It yells lots of undefined reference, like
2011 Jan 08
0
[LLVMdev] Build a static-linked executable using llvm
You are missing references for pthread. Try to add -pthread to build line.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110108/90c573ca/attachment.html>