Boost logo

Boost Testing :

From: David Abrahams (dave_at_[hidden])
Date: 2006-11-16 18:41:33

Juergen Hunold <hunold_at_[hidden]> writes:

> Hi Dave !
> On Thursday 16 November 2006 18:41, David Abrahams wrote:
>> Juergen Hunold <hunold_at_[hidden]> writes:
>> >> I hope there's a compelling reason for statically linking.
>> >
>> > The only reason is to be consistant on all platforms. The use of
>> > shared libraries with msvc requires special support. This support
>> > is not available for serialisation, so we link static for _all_
>> > platform now in order to get (nearly) the same errors on all
>> > platforms.
>> Why is that a desirable thing?
> Because is took me several days to figure out why dynamic linking on
> Unix (Linux in this case :-)) ) works and dynamic linking on Win32
> would produce "unresolved symbol _main".

That does nothing to answer my question, I'm afraid.

> The documentation Gennadiy is currently working on would have helped a
> lot, but it is a surprise (at least it was for me) that one thing that
> is working on one platform suddenly breaks when using another platform
> with the _same_ source code. And this was what happened to me :-((

There are all kinds of platform dependencies in this world; I don't
know why it should surprise you.

Dave Abrahams
Boost Consulting

Boost-testing list run by mbergal at