Boost logo

Boost-Build :

From: Philipp Frauenfelder (pfrauenf_at_[hidden])
Date: 2004-08-16 00:43:44


Hi

I would like to define different libraries to link with when in
different address modes. Currently, I have to following in my
site-config.jam:

[ ... ]
if [ os.name ] = LINUX {
import site-config.linux ;
}

if [ os.name ] = SOLARIS {
import site-config.solaris ;
}

How can I put it that I can have a site-config.solaris32 and
site-config.solaris64 (and the same for Linux as well)?

I would imagine something like

if [ feature.value address-mode = 32 ] {
// blah
}

Btw, I have

feature address-mode : 32 64 : propagated ;

in tools/builtin.jam.

Thanks a lot in advance.

Regards

-- 
Philipp | work: pfrauenf_at_[hidden] +41 44 632 60 38
Frauenfelder | home: pfrauenf_at_[hidden] +41 44 862 73 14
[PGP] | http://www.math.ethz.ch/~pfrauenf/
Proudly running Debian GNU/Linux. See http://www.debian.org/
 

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