From: klapshin (klapshin_at_[hidden])
Date: 2003-03-12 11:25:46
I am having few problems on CygWin with latest boost CVS snapshot.
I am building project with a number of dlls, and I need a way to run
program easily. I tried hardcode-dll-paths=true, but it does not
seem to work on CygWin, so I decided to use stage rule to copy all
binaries in top\bin folder.
First problem was that CP variable is empty and copying of the dlls
failed. I worked around this one with bjam -sCP=cp.
BTW: was not it supposed to be relinked rather then copied?
Next problem was with exe file. Stage failed with following errors:
*** argument error
* rule object(file-target)@174.depends ( d + )
* called with: ( )
* missing argument d
rule 'object(file-target)@174.depends' being called
/cygdrive/c/work/boost1/tools/build/new/stage.jam:56: in construct
/cygdrive/c/work/boost1/tools/build/new/build-system.jam:140: in load
/cygdrive/c/work/boost1/tools/build/new/modules.jam:171: in import
/cygdrive/c/work/pricing/boost-build.jam:13: in module scope
One more thing. Suppose I want to install all dlls to bin subfolder
of project root. I tried to define path-constant in project-root,
and then in one of subprojects apply stage on target and supply path
from that path-constant. I end up with dll being copied into bin
subfolder of subproject, rather then root. Is it expected behavior?
My workaround was to put all stage rules in root Jamfile.
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