|
Boost-Build : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-02-14 18:02:48
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, 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.
Doug
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
<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.lib
<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
<libs!regex!build\boost_regex.dll\boost_regex.lib\borland\debug\runtime-link-dynamic>boost_regex.lib
: <libs!regex!build>../src\c_regex_traits.cpp
<libs!regex!build>../src\c_regex_traits_common.cpp
<libs!regex!build>../src\cpp_regex_traits.cpp
<libs!regex!build>../src\cregex.cpp <libs!regex!build>../src\fileiter.cpp
<libs!regex!build>../src\posix_api.cpp <libs!regex!build>../src\regex.cpp
<libs!regex!build>../src\regex_debug.cpp
<libs!regex!build>../src\regex_synch.cpp
<libs!regex!build>../src\w32_regex_traits.cpp
<libs!regex!build>../src\wide_posix_api.cpp
<libs!regex!build>../src\c_regex_traits.cpp
<libs!regex!build>../src\c_regex_traits_common.cpp
<libs!regex!build>../src\cpp_regex_traits.cpp
<libs!regex!build>../src\cregex.cpp <libs!regex!build>../src\fileiter.cpp
<libs!regex!build>../src\posix_api.cpp <libs!regex!build>../src\regex.cpp
<libs!regex!build>../src\regex_debug.cpp
<libs!regex!build>../src\regex_synch.cpp
<libs!regex!build>../src\w32_regex_traits.cpp
<libs!regex!build>../src\wide_posix_api.cpp
)
* extra argument
<libs!regex!build\boost_regex.dll\boost_regex.lib\borland\debug\runtime-link-dynamic>boost_regex.lib
d:\development\boost/tools/build\boost-base.jam:108:see definition of rule
'dll-files' being called
d:\development\boost/tools/build\boost-base.jam:1575: in main-target
d:\development\boost/tools/build\boost-base.jam:1175: in declare-local-target
d:\development\boost/tools/build\boost-base.jam:1598: in dll
libs\regex\build\Jamfile:21: in SubInclude
d:\development\boost/tools/build\allyourbase.jam:1144: in subinclude
Jamfile:2: in module scope
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