$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Using different compilers with boost.
From: Dan Smithers (dan_at_[hidden])
Date: 2009-01-23 09:36:25
Hi,
I need to use several compilers for my project for different target
computers. I have built boost 1.37 for gcc 4.1.2 and 3.4.3 and
everything seems to be nicely set up as
<boost_dir>/lib/libboost_xxx-gcc34-mt-1_37.so and
<boost_dir>/lib/libboost_xxx-gcc41-mt-1_37.so.
Is there anyway of automatically detecting which version to link? I
suppose that gcc --version and some sort of awk script could do this.
thanks
dan