2012/9/6  <span dir="ltr"><<a href="mailto:r.kalbermatter@hccnet.nl" target="_blank">r.kalbermatter@hccnet.nl</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">"Martin Schlemmer" <<a href="mailto:Martin.Schlemmer@nwu.ac.za">Martin.Schlemmer@nwu.ac.za</a>> wrote:<br>
<br>
> If you have VS or a SDK installed and setup before launching MSYS term,<br>
you can use for x86:<br>
><br>
>  lib -machine:X86 -name:zlib1.dll -def:zlib.def -out:zdll.lib<br>
><br>
>and for x64:<br>
><br>
>  lib -machine:X64 -name:zlib1.dll -def:zlib.def -out:zdll.lib<br>
><br></div></blockquote><div>... <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"></div>
So the question is, what should the created DLL support as earliest OS<br>
version? Is the requirement<br>
to install a specific  C runtime redistributable acceptable?<br></blockquote><div><br>That question is already answered. See:<br><<a href="http://www.zlib.net/DLL_FAQ.txt">http://www.zlib.net/DLL_FAQ.txt</a>><br><br>
</div></div>VS10 express is what I have, so I can try the lib command line with that.<br>But I don't know if the resulting "zdll.lib" will work with VC6. The reverse has<br>more probability to work, so I would appreciate anyone still having<br>
VC6 to try it. And if an undesired linkage with msvcrXX.dll is generated,<br>that probably can be fixed with the option -nodefaultlib.<br><br>Regards,<br>         Jan Nijtmans<br>