Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-23 08:37:21


Daniel Schlyder <daniel_at_[hidden]> writes:

> Sorry, I promise not to make a habit of replying to myself. :)
>
> Daniel Schlyder:
>> David Abrahams:
>>> Daniel Schlyder <daniel_at_[hidden]> writes:
>
>>>> mingw_gcc = mingw gcc ;
>>>> debug_release = debug release ;
>>>> <$(mingw_gcc)><$(debug_release)><find-library>alogg
>
>>> But this is illegal bjam syntax, so I'm utterly confused. Did you
>>> really copy this out of your Jamfile?
>
>> Not as confused as I am. I did indeed copy it out of my Jamfile and I works
>> with v1 ("bjam -v" outputs "Boost.Jam Version 3.1.9. OS=NT").
>
> Just to make 100% sure: I presumed you meant it's the use of variables inside
> "<>" that is illegal syntax.

No I did not. I meant that a string like

<$(mingw_gcc)><$(debug_release)><find-library>alogg

or just

$(foo)

not preceded by a rule name or followed by a semicolon is illegal.

> I haven't defined the variables in a target's requirements argument
> (they're defined in Jamrules, actually).

What you posted appears to be an incomplete program fragment.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
 

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