Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-28 03:04:17

Hi Larry,

> I'm using BBv2 with a spec like this in the topmost Jamfile:
> stage dist : SineFit :
> <traverse-dependencies>on
> <include-type>EXE
> <include-type>SHARED_LIB
> <variant>publish:<location>$(deploy_dir)
> <variant>debug:<location>debug
> ;
> (deploy_dir is derived according to platform, environment,
> invocation etc.)
> When I run this build for the 'publish' variant, this warning appears
> warning: using independent target <pc:\bin>sinefit.rsp

Which V2 version? Warning is not supposed to be there in m10 or later.

> and an extraneous .rsp file ends up where only useful output was
> intended:
> c:\bin\sinefit.exe c:\bin\sinefit.rsp
> Is there a way to suppress the warning and eliminate the extra and
> unneeded .rsp file?

I'm afraid no.

> Am I misusing the 'stage' rule?

No, it's just a way 'stage' works. The problem is that windows has severe
command line length limitations so all compile and link actions use response
files. The response files are consisred regular targets by V2. Finally, the
'stage' rule always relinks the executables to the destination dir, and so it
creates respose file in the destination dir, too.

How pressing is this issue? I'll be working on stage for m11, and thinking
about making it simply copy executables on windows. This, accidentally, will
fix your problem.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at