Boost logo

Boost-Build :

From: Arjan Knepper (arjan_at_[hidden])
Date: 2007-12-21 08:02:57


Hello,

form status/Jamfile:
<snip>
test-suite config
...
           [ run libs/config/test/link/main.cpp
../libs/config/test/link//link_test
                : #args
                : #input-files
                : #requirements
                <runtime-link>shared
                <define>BOOST_DYN_LINK=1
                <define>BOOST_CONFIG_NO_LIB=1
                :
                config_link_test
          ]
</snip>

issues this cmd-line:

dmc.link
..\bin.v2\status\config_link_test.test\dmc\debug\config_link_test.exe

"c:\usr\local\bin\dmc.8.50\bin\link" /CO /NOPACKF /DEBUGLI /NOI /DE /XN
"..\bin.v2\libs\config\test\link\dmc\debug\link_test-d-1_34_1.lib"
"..\bin.v2\status\config_link_test.test\dmc\debug\main.obj" ,
"..\bin.v2\status\config_link_test.test\dmc\debug\config_link_test.exe"
,, user32.lib kernel32.lib ,

Which is wrong.
dmc-link has this command line: link obj[,out[,map[,lib[,def[,res]]]]]
(see http://www.digitalmars.com/ctg/optlink.html )
so the
"..\bin.v2\libs\config\test\link\dmc\debug\link_test-d-1_34_1.lib" is at
the wrong place in de final link cmd.

How should this be solved? Is the "run rule" misused in the jamfile or
should the dmc link rule be made "smarter" ?

-
Arjan


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