Boost logo

Boost-Build :

From: Johan Nilsson (gclbb-jamboost_at_[hidden])
Date: 2003-09-19 01:21:50


"Rene Rivera" <grafik666_at_[hidden]> wrote in message
news:20030917175303-r01010800-bdf88258-0860-0108_at_12.100.89.43...
> [2003-09-17] Rene Rivera wrote:
>
> >[2003-09-17] Johan Nilsson wrote:
> >
> >>Is the above also the case when running Boost.Build (I hope not, but I
> >>haven't come that far yet).
> >
> >Since we don't have a VMS toolset in Boost.Build, it's not a problem yet
> ;-)
> >But it is a problem in build.jam, which I'll have to fix for it work for
> >you.
>
> OK, the use of DEFINES instead of multiple DEFINE options is now handled
> correctly in build.jam.
>

hrm ... "DEFINES" was a typo, it should be "DEFINE" - sorry. However there
are still problems with the script, a few comments on the top of my head:

- Object file extensions are always ".o". Under Windows/VMS I guess the more
logical thing would be ".obj". The original Jam's $(SUFOBJ), $(SUFLIB),
$(SUFEXE), ... was actually quite handy.

- I had to uncomment the entire distribution / packing stuff ( if ! $(VMS)
{ ... ) as it lead to loads of errors (of the same type, but anyway).

- And one question on .mkdir:

rule .mkdir
{
NOUPDATE $(<) ;
if $(<:P) { DEPENDS $(<) : $(<:P) ; .mkdir $(<:P) ; }
if ! $(md<$(<)>) { .mkdir. $(<) ; md<$(<)> = - ; }
}

What is the last line supposed to do ("$(md<$(<)>) ..." etc) ?

- class.c/h - new since 1.30.2 ?

Anyway, don't put down too much time on modifying the build.jam for VMS
usage just yet - I'll be working on it for a while. Those tings aside, I had
to modify build_vms.com and also make some minor changes to a few of the jam
source files to get the bootstrap to compile and link cleanly. Would it be
ok to mail the build_vms.com and diffs of the source (compared to 1.30.2
distro) directly to you?

// Johan

 


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