|
Boost-Build : |
From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-05-07 07:14:04
On Sat, May 07, 2005 at 01:42:14AM -0400, Phillip Seaver wrote:
> I haven't looked at the CVS version (I'm using milestone 10 right now),
> but I used the darwin toolset instead of the gcc toolset ("using darwin
> ;" in user-config.jam). It uses gcc, but has OS X specific options,
> like -dynamic instead of -shared for <link>shared builds.
Oh cool, I'll try that out.
This is what I have in user-config.jam:
import toolset : using ;
# GCC configuration
# Configure gcc (default version)
using gcc ;
Is it possible to modify my user-config.jam
to detect what operating system I am on, and include the
correct toolset? The reason I ask is because
I have a single Boost Build tree (from CVS), on an NFS exported
directory, and I have
multiple bjam binaries. In my .bashrc, I set
the PATH to pick up the correct bjam depending on my OS.
The BOOST_ROOT is the same for me on whatever platform I am on.
If I could get my user-config to use the darwin toolset
on MacOS X, that would allow me to test BBv2 quickly
on multiple platforms from a single Boost source tree.
Thanks!
-- Craig Rodrigues rodrigc_at_[hidden]
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