Boost logo

Boost :

Subject: Re: [boost] [filesystem] [system] Suddenly, dynamic linking by default
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-04-29 15:20:58


Le 29/04/12 15:05, Lars Viklund a écrit :
> Additionally, the autolink macros to force symbol decoration and linking
> for a static link are undocumented in the Boost.Config table [1], which
> explicitly states that all libraries that can be statically linked will
> be statically linked. There is no mention of libraries that arbitrarily
> decide to go dynamic, just that some libraries are only available in
> dynamic form.
>
> For future reference for anyone finding this in archives, the
> undocumented, and in this case required, macros to force a static link
> and symbol decoration are:
> BOOST_<WHATEVER>_STATIC_LINK or
> BOOST_ALL_STATIC_LINK
>
> [1] http://www.boost.org/doc/libs/1_49_0/libs/config/doc/html/index.html#boost_config.configuring_boost_for_your_platform.user_settable_options
>
Hi,

instead of documenting these macros, I will prefer that the the
libraries authors that are using _STATIC_LINK follows the protocol as
defined in Boost.Config.

Best,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk