From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-28 03:04:17
> I'm using BBv2 with a spec like this in the topmost Jamfile:
> stage dist : SineFit :
> (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
> msvc.link 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.
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