Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9685: Boost.Locale does not link against static ICU on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-15 14:07:09
#9685: Boost.Locale does not link against static ICU on Windows
-------------------------------+----------------------
Reporter: stathis@⦠| Owner: artyom
Type: Feature Requests | Status: assigned
Milestone: To Be Determined | Component: locale
Version: Boost 1.55.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+----------------------
Comment (by stathis@â¦):
Could you please explain why using static runtime is "very bad way to do
things" ? what are the pros and cons. static linking works well if one is
systematic and doesn't mix runtimes up.
I have been precompiling ICU for a few years too with static runtimes,
look here: http://www.npcglib.org/~stathis/blog/precompiled-icu/
there is instructions, patches, libraries, etc. It is just a simple
command line to build ICU statically. If you want it, I will fetch it
here.
Regarding ICU static with dynamic (/MD) vs static (/MT) runtime, it is
easy to build either. /MD is the default ICU way and my script + patch
builds with /MT, which is not the standard way.
I know it's very difficult for you to include the changes, given they are
windows-specific and the dependencies are custom build. This can't go
upstream, at least for now.
I agree with you dlls aren't bad at all, but static binaries are also
widely used and they work very well. No need for deployment and
installers. I have no intention of starting a discussion about the
correctness of static linking; unless there is a strong point that should
be made, please tell me.
I look at it differently: since there is a real use case and it is
technically feasible, I tried to provide it (actually I did it for myself
and since it's so tedious, I decided to share it with the world).
I think if you decide not to work on this (since I guess you're
volunteering your time) given the abovementioned caveats, the best would
be to clarify that linking against ICU always links in the dynamic ICU and
not the static in the Boost docs.
In contrast, if you want any other details to rectify this, feel free to
let me know, I will help.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9685#comment:8> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC