Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-08-14 11:37:16

Serge Skorokhodov wrote:
> John Maddock wrote:
>>>I attempted to use boost built with system layout (vc-7_1)
>>>to simplify deployment etc. Unfortunately, my code failed to
>>>link as the linker tried to link the date_time libraries
>>>with TOOLS and version marks (I'm not sure about other
>>>libraries as it was fatal enough:). Is this a known
>>>limitation of auto linking? Is there a workaround? I haven't
>>>search the documentation real thoroughly but no hints of how
>>>to turn auto linking off...:(
>>Excuse my ignorance, but what's "system layout" ?
> bjam option --layout=[versioned|system] If 'system', the
> libraries' names do not contain tool tag and version tag.

Yep. That layout was designed in response to the request of the RedHat
packagers. So it's not really intended for Windows.

>>You can keep auto-linking but change the toolset name by
>>defining BOOST_TOOLSET to the required name when building,
> The problem is that there's _no_ toolset tag in a library name in
> 'system' layout:( The idea was to have shorter'n'nicer
> dll/library names...

John, we may have to introduce a BOOST_IN_SYSTEM (or such) so that the
autolink uses the system provided Boost install. It hasn't come up until
now though.

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - Grafik/

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at