Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-10-10 09:58:47

Daniel Lidström wrote:
> Hello!
> I am trying to use stlport with BBv2. Here's the line in user-config.jam:
> using stlport : : ../../Vendor/STLport/stlport ../../Vendor/STLport/lib ;
> This works great, but I would like to be able to use stlport with both VC6
> and VC7.1. How can I specify different stlport's depending on the toolset?
> Of course the only thing that changes is the location of the library files.

You need to repeat the stlport init for each different version you
compile and specify those versions when building. For example I have:

using gcc : 3.4.5 : C:/MinGW/bin/g++.exe ;
using stlport : 5.0~gcc345 :
        C:/DevRoots/STLport/STLport-5.0/bin ;
using stlport : 5.1~gcc345 :
        C:/DevRoots/STLport/STLport-5.1/bin ;

And you can then:

bjam ... gcc/stdlib=stlport-5.1~gcc345

It's also possible to specify the stlport build to use in the Jamfiles.
And hence base it on the toolset automatically. For example by adding

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

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at