2012/9/7 Jan Seiffert <span dir="ltr"><<a href="mailto:kaffeemonster@googlemail.com" target="_blank">kaffeemonster@googlemail.com</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">
Jan Nijtmans schrieb:<br>
<div class="im">
> It should, but linking this zlib1.lib with VC2005 or higher gives<br>
> the warning message:<br>
><br>
</div>> *warning LNK4078: multiple '.text' sections found **with different<br>
> attributes (E0300020)*<br>
><br>
<br>
and i guess "mingw32-dlltool -d ./win32/zlib.def -l zlib1.lib" creates the<br>
same problem?<br></blockquote><div><br>Guess so. But now I found where the problem comes from. Starting<br>with VS2005, a change is made to the startup code of .lib files. See:<br></div>  <<a href="http://msdn.microsoft.com/en-us/library/049hc7a0%28v=vs.80%29.aspx">http://msdn.microsoft.com/en-us/library/049hc7a0%28v=vs.80%29.aspx</a>><br>
So maybe there is no other way than supply two different .lib<br>files, one for VS2005+ and one for VS2003-......<br><br>Regards,<br>         Jan Nijtmans<br></div>