Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-20 04:30:58


Hi Johan,

> under OpenVMS the environment varibles (i.e. logical names) are not
> imported automatically, presumably because there is no officially
> supported way to enumerate them.

Is it really the case? Even on recent versions?

> Would it be possible to add an explicit native rule to do this, asimilar
> to the w32_getreg functionality? Perhaps vms_import <list of environment
> var names/logical names>:
>
> var_values_list = [ vms_import "X" "Y" "Z" ] ;
>
> The values can be accessed using getenv, at least in reasonably recent
> OpenVMS CRTL versions.

I'm not exactly happy about platform specific native rules, but if it's not
possible to enumerate variables, I don't see any other solution.

- 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