Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-03-22 12:19:20

> In my testing, I have found that you can't use "gcc -static" on
> Solaris if you have *any* shared libs to link with. It overrides even
> later uses of -Wl,-Bdynamic (in fact using both -static and
> -Wl,-Bdynamic causes a linker error - see below).


> If you want to link with static versions of some libs and dynamic
> versions of others (as one must in the case of the Boost.Thread tests
> which use -lpthread and -lrt for which no static versions exist), it
> appears that the only way to do this is to specify the static libs as
> fully qualified filenames (e.g. /path/to/libfoo.a). See the examples
> below:

Double darn :-(

I guess there's no easy way to fix this then, pity.

Thanks for trying,


Boost list run by bdawes at, gregod at, cpdaniel at, john at