|
Boost-Build : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-14 18:19:24
----- Original Message -----
From: "Douglas Gregor" <gregod_at_[hidden]>
> It appears that building DLLs under Windows is broken, at least for
Borland
> C++. I attempted a build with:
>
> jam -sTOOLS=borland
>
> and received an argument error when trying to call dll-files (look down
for
> the error text). The problem seems to stem from the fact that SUFDLL has
both
> '.dll' and '.lib' suffixes
No, that part's OK.
>, but I don't pretend to understand how DLLs work
> under Windows. Everything works properly under Linux.
>
> This error is with the latest (as of ~4:00pm EST) sources from CVS.
This probably has something to do with Rene's checkin as of last night. You
could roll back the tools/build directory to its state as of 1 pm EST
yesterday.
>
> d:\development\boost/tools/build\boost-base.jam:1533: in subvariant-target
> *** argument error
> * rule dll-files ( module implib ? : sources * : target-type ? )
> * called with: ( dll-files
>
<libs!regex!build\boost_regex.dll\boost_regex.lib\borland\debug\runtime-link
-dynamic>boost_regex.dll
>
<libs!regex!build\boost_regex.dll\boost_regex.lib\borland\debug\runtime-link
-dynamic>boost_regex.lib
>
<libs!regex!build\boost_regex.dll\boost_regex.lib\borland\debug\runtime-link
-dynamic>boost_regex.dll
<snip many more elements>
)
> * extra argument
>
<libs!regex!build\boost_regex.dll\boost_regex.lib\borland\debug\runtime-link
-dynamic>boost_regex.lib
The error message shows that the first argument to dll-files can have 1 or 2
elements (module implib ?), and where I snipped shows at least 3 elements.
-Dave
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