Getting SDL working with Cygwin/Mingw32

Hi,

 I'm new to this list, but I found an earlier message in the archives 
 that describes the same problem I'm having.  I found no responses that 
 gave a solution.  May I ask how can I solve this problem?
 
 Thanks,
 
 Warren
 
 P.S. I'm running Win95, with both Cygwin and Mingw32 installed (is 
 this a "conflict of interest"?  I first tried compiling the aliens 
 example, and got a bunch of missing symbol errors at link time.  So, I 
 added -lSDL to the Makefile (why it wasn't there already, I don't 
 know), and it found libSDL.a, but then it gives the message described 
 below:
 
 Here's the original message:----------------------------
 
 Ok here is a better description:
 
 It says theres an undefined reference to __imp_io 
 
 BTW, Where do I get the mingw32 NATIVE win32 compiler? I thought that
 was just an addon to cygwin?
 
 Peter

Warren Downs wrote:

 ----------------------------

 Ok here is a better description:

 It says theres an undefined reference to __imp_io

 BTW, Where do I get the mingw32 NATIVE win32 compiler? I thought that
 was just an addon to cygwin?

At http://www.xraylith.wisc.edu/~khan/software/gnu-win32
I think it is EGCS version, full (cygwin independent) distribution, version
Beta20. I succesfully compiled SDL with it.
I’ll try to create mingw32 makefiles for native build this weekend.

Vaclav