Boost logo

Boost-Build :

From: Marc Boris Dürner (BDuerner_at_[hidden])
Date: 2006-04-25 05:35:53

> On Monday 24 April 2006 16:15, "Marc Boris Dürner" wrote:
> > Hello,
> > It seems boost jam is quite usable for classic jam projects.
> >
> > Is the bjam team interested in extentions to the classic jam rules in
> > Jambase? It seems there were some changes that could be incorporated
> into
> > bjam? Either from more recent versions of classic jam or rules written
> by
> > users (a SharedLibrary-rule for example).
> Hi Marc,
> we don't use those rules any longer, and I personally can't comment on any
> changes you might have. Should you send a patch, I can apply it, but
> that's
> all the help I'm able to provide with Jambase changes. Sorry!

Hello Volodya,
Thanks, thats exactly what I wanted. There is very little change necessary
to make boost.jam 100% compatible to classic jam. I am not entirely sure
what I would suggest though for future developments. Actually it is
compatible already, the missing FDefines rule wasnt part of the "jam
standard", but just a helper rule.

Everyone who uses jam seriously has defined his/her own rules mostly
anyways, so one could argue that they could be removed from the bjam
Jambase, unless they are required for bootstrapping. Another option would be
to simply merge the jam 2.5 rules.

The jam language should stay compatible though to classic jam, so the
standard Jambase has served as sort of a test case to ensure that.

Currently the name of the executable determines whether boost.jam will act
as classic jam.
if [ MATCH .*(bjam).* : $(ARGV[1]:BL) ]
  # boost behaviour
  # classic Jambase rules and behaviour

Maybe in a first step the else block could be put in a file called someting
like Jambase.classic and included in the else block? That way it wouldbe
easier for someone to compile their own Jambase into bjam. Maybe a smarter
way could be provided to select behaviour boost/classic than renaming the
executable? It could even be acceptable to provide two Jambases in the
boost.jam distribution and depending on which one I build into jam I get a
boost-jam or classic-jam.


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL!

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at