Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-12-28 20:00:37


[2002-12-29] Alisdair Meredith wrote:

>I am just upgrading all our software to use Borland CBuilder6, but would
>like to keep BCB5 around until we are happy with the transition. This
>means I will want to build 2 different sets of borland libraries.
>
>Can I set the boost build system up to do this? It seems only to
>support my 'latest' borland compiler, now 6.
>
>As best I can make out, I need to configure BCB5 as a 'new' toolset.
>Does this sound right? What would be involved beyond creating
>bcb5-tools.jam in BOOST_ROOT/tools/build?

Here's an example of how to do it for a variant of gcc...

~~~begin file: "BOOST_ROOT/tools/build/gcc-3.2-stlport-4.5.3-tools.jam"
{
local GCC_ROOT_DIRECTORY = /usr/local/gcc-3.2 ;
local GCC_STDLIB_DIRECTORY = /usr/local/gcc-3.2/lib ;
local STLPORT_ROOT = /usr/local/STLport-4.5.3-gcc-3.2 ;
local STLPORT_INCLUDE_DIRECTORY = include/stlport ;
extends-toolset gcc-stlport ;
}
~~~end

It should be similar with the borland toolset. I haven't tried it with
borland so the toolset may need changes to work as easily as the above.
Which I'll do gladly ;-)

Also as long as you set BOOST_BUILD_PATH correctly the *-tools.jam file can
be anywhere you wish.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq

 


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