[erlang-questions] How to build Erlang with libcmt (/MT) under windows?
Tue Oct 21 00:44:37 CEST 2008
I am beginning to understand. And to be honest this article horrifies me.
OK, before I say something bad about Microsoft (again) I should meditate
about this for some time.
Thank you for taking the time!
On Mon, Oct 20, 2008 at 3:09 PM, Bjorn Gustavsson <>wrote:
> On Sun, Oct 19, 2008 at 1:30 PM, Michael Regen <>wrote:
>> Hi Björn,
>> I can understand that you do not have intentions supporting it in the main
>> distribution. It simply does not make sense there. An installer is needed in
>> any case which can take care of the CRT dependencies.
>> But may I ask you - can you give me a hint where Microsoft discourages the
>> use of a statically bound CRT? Or give me a hint why that would lead to
>> memory leaks? I would really like to understand the problem, investigated
>> since I read your statements and so far was unsuccessful finding any hints.
> Here is an article about the potential problems about passing CRT objects
> across DLL boundaries:
> In the context of the Erlang emulator, you could run into those problems if
> you load drivers into a statically linked
> emulator, as they would use a different copy of the run-time library.
>> The reason why I am asking is because I was thinking about some kind of
>> SAE revival. I wrote some tests and I am already able to run Erlang together
>> with many kinds of Erlang applications in one single .exe without patching
>> the emulator.
> As long as you don't load dynamic drivers, statically linking the run-time
> library would be OK since there would
> still only be one copy of the run-time library.
> Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions