Thank you. This is my command line:
g++  -o"MyProgram"  ./main.o   -l:libboost_thread.a
 
The result is huge number of messages like:
undefined reference to `pthread_key_create'
 
The same result as I got with this:
g++ -static -o"MyProgram"  ./main.o   -lboost_thread
Some problems with static library libboost_thread.a?
On Sat, Feb 27, 2010 at 6:26 PM, David Kaplan <davkaplan@gmail.com> wrote:
On 27 February 2010 08:34, Alex Farber <alexf3062@gmail.com> wrote:
> Tried this, got error message:
> cannot find -llibboost_thread.a
> (added libboost_thread.a to the likker libraries list in the Eclipse CDT
> project).

You need to add ":libboost_thread.a" - with the colon...
Eclipse will call the linked with -l:libboost_thread.a
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users