Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-09 04:45:24


On Wednesday 08 March 2006 11:49, Markus Schöpflin wrote:
> 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

This should be:

    <toolset>hp_cxx,<os>tru64:<compileflags>-mfp-rounding-mode=d

(i.e. one ":" replaced with ",')

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

Try this:

  $bjam -f-
  ECHO $(OS) ;
  <Ctrl-D>

The output is the right value of <os> feautre.

> 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.

http://boost.org/boost-build2/doc/html/bbv2/advanced/builtins/features.html

Most likely incomplete, but that's what we've got now.

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

The first one will work, and is preferred to the second one.

- Volodya


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