Cross compiling Wine with MinGW

Hans Leidekker hans at it.vu.nl
Tue Mar 2 04:08:46 CST 2004


On Monday 01 March 2004 18:55, Juan Lang wrote:

> > additionally
> > link to ws2_32 it builds on MinGW as well as Wine.
> 
> You have to link to ws2_32?  That's interesting, I
> didn't.  I submitted a patch, minus that bit.

Yes you need to, I have tested this. You don't need it on 
Wine because there you somehow get inet_addr indirectly, but
on MinGW (and MSVC) you sure need it otherwise it won't build.

> > MinGW and MSVC versions of winsock2.h have the
> > defines, so
> > I guess we need to add them. Attached patch does so.
> 
> Could you submit to wine-patches?  Thanks!

I intended to do so but I addressed it to wine-devel twice, so 
here it is again. This fixes cross compilation of wsock32.

 -Hans

Changelog:
  add protocol type constants.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_winsock2_h.diff
Type: text/x-diff
Size: 885 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040302/f8c035ed/include_winsock2_h.bin


More information about the wine-patches mailing list