|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-12-09 08:45:21
"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> writes:
> * Added building dynamic libraries into Jamfile
> Unfortunately it does not work as expected on windows platform. I would
> greatly appreciate any input. See:
> http://groups.yahoo.com/group/jamboost/message/2248
Vladimir followed up to that message shortly after you posted it.
Anyway, what you're trying to do (build a dynamic library containing
references to unresolved external symbols) can't be done on Windows
AFAIK, nor can it be done conveniently on some other platforms like
AIX. When using the test library as a DLL, you'll need to provide a
different interface for the library to get the user's "main"
function. One possibility would be for the user to pass it explicitly
to the library.
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk