"Eli Zaretskii" <e...@gnu.org> 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
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make