Boost Users :
From: Florian Winter (fw_at_[hidden])
Date: 2008-06-20 11:49:23
The reason we are not using the shared library version of Boost.Test is
simply that we find it more convenient to build a shared Boost.Test
library on all platforms using our own build system. There is no other
reason for it, and so far our way of using the library did not cause any
problems. Our method of linking Boost.Test is also transparent to
applications, because if we ever run into problems, we can still build a
shared Boost.Test library in the standard way and link our shared
library against it (instead of including the Boost.Test implementation).
We were able to fix the compilation problem on Mac OS X by removing the
#define of BOOST_HAVE_SIGACTION in macos.hpp . I hope this is a valid
fix or workaround that will not cause any problems other than making
error reporting in case of a signal less verbose on Mac OS X ...
Thank you for your help so far.
Gennadiy Rozental wrote:
> Florian Winter <fw <at> motama.com> writes:
>> Thank you for pointing this out. So far, our setup works fine on Windows
>> and Linux using completely different toolchains. The compilation problem
>> that we get doesn't seem to be related to the way we build Boost.Test at
>> first glance, but feel free to tell me I am wrong.
> You may find it breaking once you do a step away from situation where it works.
> Why don't you like using shared library?
>> Is the problem a general
>> problem on Mac OS X 10.3, i.e. will we also run into this problem when
>> compiling the latest release of Boost.Test the standard way? Or is the
>> problem related to our setup in particular?
> No. The problem was in general on Mac.
>> This would be important for us to know because it determines the next
>> step we take to solve the problem, which would be either upgrade to a
>> newer SVN version or try to build Boost.Test the standard way.
> Try svn. You can see the status of platform build on corresponding regression
> test page.
> Boost-users mailing list
-- Florian Winter Software-Entwickler
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net