From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-11-09 15:14:41
Juergen Hunold wrote:
> On Wednesday 08 November 2006 19:52, Vladimir Prus wrote:
>> Gennadiy Rozental wrote:
>> > "Vladimir Prus" <ghost_at_[hidden]> wrote in message
>> > news:200611081912.10638.ghost_at_cs.msu.su...
>> >> Just a quick question: is it still true that Boost.Test libraries
>> >> cannot be
>> >> DLL on Windows?
>> > No. DLL Support is implemented. Boost.Test Jamfile is updated also
>> > to support this
> But not Jamfile.v2
> Please find test_build.Jamfile.v2 attached for enabling shared linking
> using msvc and defining "BOOST_TEST_DYN_LINK=1" on all platforms for
> shared linking. This makes the behaviour consistant on all platforms
> which means you'll get similar errors on all platforms...
> And also adding the missing usage requierements without nothing will
> work at all :-))
>> ### mwld Linker Error:
>> # Â Undefined symbol: '_main'
>> # Â referenced from '_mainCRTStartup' in maincrt.c:97
>> ..failed cw.link ..\..\..
> With the first patch, you'll get similar errors on all platfoms.
> Please patch Jamfile.v2 of Boost.Test tests with test_test.Jamfile.v2
> My patch does this.
> I've patches for all other libraries, which simply add
> "/<link>shared" to the test libraries (see thread_test.Jamfile.v2.diff)
Did you mean "/<link>static"? And you've only attached a patch for threads.
Can you send the patch for all the other libraries too?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk