Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-03 02:11:59


Sam Partington wrote:

> > "exactly the same as gcc.jam"? Hmm... I'm not sure that's right.
>
> Well no, I have replaced all instances of gcc in gccmt.jam with gccmt - I
> figured the line :
>
> feature.extend toolset : gccmt ;

Ok, so this should not be a problem.

> > Maybe, you can run bjam with "--debug-generators" option and send me the
> > output?
>
> Of course :
>
> http://www.sampartington.co.uk/bjam.txt
>
> It seems to be struggling at the .c to .o phase, could that be due to an
> ambiguity?

I think that's because you have

ldr test : test.c ;

Note that by test case has

ldr test : test1 ;
exe test1 : test.c ;

The difference is that in first case, you're expecting Boost.Build to first
create EXE and then create LDR -- in other words, to run two composing
generators one after each other. This is not supported (without human
intervention), because it's not clear what to do in the following case:

ldr test : test.c test2.c ;

Should Boost.Build create one EXE and convert it to LDR? Or create two EXE,
one from each C source? It's not clear, so nothing is done.

- 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