Hi,
I'm not an expert in Boost Build, but why don't you just add the option to <cxxflags>? Something like:
exe myapp : someSource.cpp : <cxxflags>"-pthread" ;
That said, I encourage you to use Boost Threads instead of Posix Threads. They are far more usable, portable, and fun!
Regards.
Jose.
Hi, I'm using the boost build tool for a quite while now, but this time I cannot help myself and even google does not seem to find the right answer. I want to link against the pthread lib. Using gcc I would do something like: g++ someSource.cpp -pthread. How to do this using bjam?? Many Thanks, Cheers, Daniel
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build