Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-15 21:47:47


No, the bug is that somebody broke something!

The original behavior of boost.build was to load any not-completely-read
Jamfiles of dependencies with main target generation disabled so that it
could collect the dependency info. That means that you can define lib
dependencies after their dependents in the same jamfile -- it would
re-include the jamfile to gather up the dependencies, then continue
generating main targets.

-Dave

----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Friday, March 15, 2002 12:15 PM
Subject: Re: [jamboost] <lib> broken?

> On 2002-03-15 at 04:30 PM, ghost_at_[hidden] (Vladimir Prus) wrote:
>
> >
> >When trying to run the most recent build system on the following
jamfile
> >
> > project-root ;
> >
> > exe nm_asm_estimate : nm_asm_estimate.cpp <lib>nm_time_estimate ;
> > lib nm_time_estimate : BasicBlock.cpp ;
> >
> >I get:
> >
> >/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1330: in
> >find-compatible-subvariant
> >*** argument error
> >* rule is-link-compatible ( feature : value1 : value2 )
> >* called with: ( <target-type> : EXE : )
> >* missing argument value2
> >/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1301:see
definition of
> >rule 'is-link-compatible' being called
> >/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1359: in
> link-libraries
> >/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1545: in
> >subvariant-target
> >/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1628: in
main-target
> >/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1213: in
> >declare-local-target
> >/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1639: in exe
> >Jamfile:4: in module scope
> >
> >Could anyone try to reproduce it, in order to check that I don't have
simply
> >broken local configuration?
>
> I get the same errors, but this works...
>
> project-root ;
>
> lib nm_time_estimate : BasicBlock.cpp ;
> exe nm_asm_estimate : nm_asm_estimate.cpp <lib>nm_time_estimate ;
>
>
> The bug really is that it should tell you that there is no
> <lib>nm_time_estimate target defined. I'll see if I can put that error
message
> in there.
>
>
> -- grafik - Don't Assume Anything
> -- rrivera_at_[hidden] - grafik_at_[hidden]
> -- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]
>
> ------------------------ Yahoo! Groups
Sponsor ---------------------~-->
> Tiny Wireless Camera under $80!
> Order Now! FREE VCR Commander!
> Click Here - Only 1 Day Left!
> http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/z3wwlB/TM
> ---------------------------------------------------------------------~
->
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>

 


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