Re: [cc65] Compiling

Date view Thread view Subject view

From: Spiro Trikaliotis (Trik-news_at_gmx.de)
Date: 2001-09-15 10:19:10


Hello Maciej,

> also) and tried to build it on Win32 platform with VC++. It generated a
lot of
> signed/unsigned errors (how to turn this off?) and choked on networking
stuff.
> I have three posibilities: at turn this off, rewrite to winsock or find
> something that will have socket/accept/bind etc. inside. I'm not familiar
with
> winsock (maybe it is similar to BSD sockets). I would like to have it
without
> major changes in sources. Cygwin is too big for me. Is mingw a solution?

Winsock is almost the same of BSD (at least, it's compatible). The only
things you have to change is:

- #include "winsock.h" or "winsock2.h"
- use WSAStartup() and WSACleanup() for Initialization of network stuff
- link with wsock32.lib

If you encounter problems, write to me directly, I've done this conversion
more than once.

Gruß,
   Spiro.


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:42 CET