Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-03-08 03:49:54


I'm trying to specify dynamic rounding mode on the compiler command line
for the numeric interval tests.

What I would like to do is best expressed by the following:

project
   :
   source-location $(BOOST_ROOT)
   requirements
     <toolset>hp_cxx:<os>tru64:<compileflags>-mfp-rounding-mode=d
     <toolset>gcc:<os>tru64:<compileflags>"-fprm d"
   ;

# bring in rules for testing
import testing ;

{
   test-suite numeric/interval :
     [...]
   ;
}

This doesn't work, so here are my questions:

1. No matter what I specify for the requirements (I tried
<compileflags>-mfp-rounding-mode=d without anything else), it doesn't show
up on the compiler command line for the tests. How do I specify
requirements for the test suite?

2. I'm assuming that <os>tru64 is not a valid requirement. What would be
the correct specification for this?

3. Is there a reference of all build features and there possible values for
V2 available somewhere? I didn't find it in the documentation.

4. Does <compileflags>"-fprm d" work, or do I need <compileflags>-fprm
<compileflags>d like in V1?

TIA, Markus


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