bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MSVC runtime lib issue


From: Gisle Vanem
Subject: Re: MSVC runtime lib issue
Date: Sat, 30 Nov 2013 12:46:08 +0100

"Eli Zaretskii" <address@hidden> wrote:

This project file doesn't specify any runtime lib to link with. Hence the default is to use LIBCMT.LIB as if '-MT' was used. I would like to build using '-MD' (or '-MDd') which pulls in msvcrt[d].dll (most MSVC software seems to be using this CRT these days).

Why is that a good idea?  "If it ain't broken, don't fix it."

It's much more common these days (and MingW uses it). And because of the new "load" feature, you could maybe expect bug reports when users making DLLs for GNU-make with '-MD' (msvcrt.dll) instead. But I have no real objection to using libcmt.lib.

What does stdlib.h say about 'environ'?

_CRTIMP extern char ** _environ; I.e. dllexport'ed.

--gv




reply via email to

[Prev in Thread] Current Thread [Next in Thread]