Does anybody use the newest CYGWIN version with SDL ??? I have some problems.
Please email me directly.


I have found a solution! I had exactly the same problem you did. (I saw
your other posts describing the problem with the __imp____pctype_dll et.
al.) It turns out that the object files are compiled as cygwin but are
trying to be linked as mingw. To fix this problem and have the files
compiled and linked as mingw simply change lines 8207-8209 of ./configure
in the top level SDL source directory from:
CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix
SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix
Note: For quick finding, these are the only lines that have “-Uunix” in

Then you’ll have to recompile/install SDL with “make
clean;./configure;make;make install”, but that should fix the problems.
Just make sure you put a copy of SDL.dll in your PATH before trying to
compile or run any programs. I don’t know whether it needs to be in the
Windows PATH or just the Cygwin PATH, but C:\windows\system32 (which is
included in both my PATH’s) works for me.

Could someone involved in development confirm that this is the appropriate
place for these changes and/or merge these into the main cvs and

Hope this helps,
Michael D. Adams
mdmkolbe at

P.S. I don’t subscribe to the SDL list so please direct any responses to my
direct address as well as the list.

Does anybody use the newest CYGWIN version with SDL ??? I have some
problems.>Please email me directly.