Boost logo

Boost-Build :

From: Matt England (mengland_at_[hidden])
Date: 2006-08-26 14:02:54


How can I biuld libboost_thread*.so with consistent naming? We (the
Cleversafe project <http://cleversafe.org>) are finding that sometimes our
boost-building script:

http://svn.cleversafe.org/moxie/trunk/thirdparty-builder/scripts/boost.sh

builds "libboost_thread-mt.so", and sometimes "libboost_thread.so".

Not all linkers are friendly with either--eg, Ubuntu Dapper's linker
doesn't like one or other (but I can't remember which).

Note all the extra stuff we do to try and get the file named consistently
without an '-mt' in the latter portion of:

http://svn.cleversafe.org/moxie/trunk/thirdparty-builder/scripts/boost.sh

We are under the impression that the 'bjam --layout="system"' switch is
supposed to eliminate this '-mt' stuff (like it seems to do well for the
other 3-4 boost libs we use), but _thread is a problem. And why does a
library that supports threads need to be marked as multi threaded?

We've had lots of issues with this. Any guidance to help clear the fog
would be wonderful. We really like using Boost for our project, and we
would really benefit from hurdling these thread-library obstacles.

Fyi, this is boost 1.32.0 we're using. We have yet to become 1.33.x
friendly, because apparently the 1.33.x library or API breaks something in
our libboost_program_options module usage.

-Matt


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk