Boost logo

Boost-Build :

Subject: Re: [Boost-build] jam arithmetic support
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-02 15:15:41


AMDG

On 03/02/2012 10:58 AM, Nogradi, Chris wrote:
> Does anyone know if the jam language supports basic arithmetic? I need to compute the section address for a linker script using multiplication and addition. I also need to use a template linker script file and substitute the computed address into it. Any ideas on how to do this in jam?
>

The CALC rule support + and -, but not * and /.

In Christ,
Steven Watanabe


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