Subject: Re: [Boost-build] Difference between libboost_thread and libboost_thread-mt
From: Ray Sheppard (rsheppar_at_[hidden])
Date: 2014-09-09 13:12:00
On 9/9/2014 11:59 AM, Suckow, Thomas J wrote:
> On 9/9/14, 5:21 AM, "Ray Sheppard" <rsheppar_at_[hidden]> wrote:
>> However, the library needed was libboost_thread, but on
>> our machine, only libboost_thread-mt was available. So we created a
>> symlink, libboost_thread, to libboost_thread-mt. Are there any issues we
>> don't understand with doing this? Thanks.
> The -mt suffix means that the library was compiled with ³multithreading
> support². Some linux distributions only supply the multithreaded libraries
> and choose to leave off the suffix. Boost_thread naturally only has a
> multithreaded version.
> The gotcha: I do not recommend mixing -mt and non -mt versions. Since you
> are linking against boost_thread-mt, make sure all other boost libraries
> are linked against the -mt version as well. It may be easiest to update
> your build scripts to include the suffix rather than symlink.
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
-- Respectfully, Ray Sheppard RSheppar_at_[hidden] http://rt.uits.iu.edu/systems/SciAPT 317-274-0016 Principal Analyst Senior Technical Lead Scientific Applications and Performance Tuning Research Technologies University Information Technological Services IUPUI campus Indiana University My "pithy" saying: Science is the art of translating the world into language. Unfortunately, that language is mathematics. Bumper sticker wisdom: Make it idiot-proof and they will make a better idiot.
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