Why does this create a library with missing symbols?
$ cat testcase.cpp
#include pthread.h
void f() { pthread_create(0,0,0,0); }
$ libtool --mode=compile g++ -pthread -c testcase.cpp
mkdir .libs
g++ -pthread -c testcase.cpp -fPIC -DPIC -o .libs/testcase.o
g++ -pthread -c testcase.cpp -o
Google for more info. I also read in
this mailing list's archives that libtool had to be built with the compiler
that would be used with it. Is that true?
Finally, here's my question: what is going on? How do I build a shared library
using libtool and Intel's compiler?
Thanks!
--
Simon Perreault
On January 23, 2005 11:16, Bob Friesenhahn wrote:
In order to automatically obtain stdc++ symbols, the library must be
linked using a C++ compiler.
Thank you very much! That was the problem! I had to use CXX=icpc, not CXX=icc.
--
Simon Perreault [EMAIL PROTECTED] -- http://nomis80.org