Boost logo

Boost Users :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-05-23 19:12:44


Christoph Duelli wrote:
> Is it possible to configure Boost so that the library files built (linux,
> gcc 4.1) are *not* named like
>
>
> My problem:
> Boost 1.33.1 libs are a.t.m. named like
> libboost_regex-gcc.so
> Boost 1.34.0 libs are now named like
> libboost_regex-gcc41.so
> Consequently, my makefile that contain lines like
> -lboost_regex-gcc
> do not work with 1.34. If I 'fix' them for 1.34 my other machines (and
> colleagues) will be in trouble til they switch to 1.34 as well.
>
> Question:
> Is it possible to build boost (or write my makefiles) in a way so that my
> projects build with both Boost 1.33.1, 1.34 and so on (whatever is
> present)? Is there a standard or best practice for that?

The default build of Boost puts version number for both the compiler and
Boost itself in the name so that such discrepancies are not possible.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net