From: Eric Jones <fpicard@inet.att.co.kr>
Subject: Gnu Win32 beta 18

Here are instructions for compiling Circle 3.0 bpl11 under Cygnus' GCC 
without the need for mingw32 under Windows95:

This is for Gnu-win32 b18.

1. Install the cygnus package following the instructions provided by 
   Cygnus.
2. Bring up an MSDOS prompt and run BASH to get to Cygnus' Bash shell
3. CD to the directory you have CircleMUD in and run configure to set up 
   the makefile and conf.h
4. After configure completes, exit Bash by typing EXIT (duh)
5. Make the following changes to the makefile:
     Remove the -fno-strict-prototypes from the MYFLAGS line, as the 
     compiler doesn't recognize the flag.
6. Save the makefile
7. In CONF.H on or around line 26, comment out the #define HAVE_CRYPT 1
8. In COMM.C on or around line 1540, within the function signal_setup(),
     comment out the line that reads:
        struct itimerval itime;
     and the line
        struct timeval interval;
     then further down in the function, just below the comment about 
     deadlock-protection, comment out the ifndef for OS2, from the
     #ifndef OS2 to the #endif

At this point, circle should successfully compile.  You will get warnings 
from various files about "subscript is type 'char'" but that doesn't seem 
to cause any problems.  The only problem I can possibly see is the fact 
that since the deadlock-protection routine is commented out the MUD could 
possibly  go into an infinite loop at some point, but after running the MUD 
continously for 4 days with no crashes I haven't seen a problem yet.  If 
anyone wants to take a stab at making that work, you're more than welcome 
to try.

Any questions can be sent to fpicard@inet.att.co.kr

I did this just to see if I could get circle to compile without needing the 
winsock API, and since Cygnus has a pretty good implementation of the UNIX 
sockets within their CYGWIN32 API, I figured if I could get it to work, it 
may help others who have been trying to get a "stable" implementation of 
circle running under WIN95 (as if WIN95 itself is stable :))
