Game Development Community

Does gcc on win32 work? (cygwin)

by Scott Kearney · in Technical Issues · 07/19/2003 (7:33 pm) · 3 replies

I'd like to use a free compiler on win32 if possible as I do not have MSVC, has anyone had any experience with getting gcc to work on windows platforms? I haven't tried getting it to work yet, myself, but would like to know if anyone has any head-start in this area.

Thanks!

#1
07/19/2003 (7:50 pm)
Mingw
#2
07/19/2003 (8:00 pm)
I'm not familiar with that by name, but I'll look it up. Thanks for the lead!
#3
08/20/2003 (2:20 pm)
Hey Scott, you probalby already have it running by now, but in case you don't I have the same situation as you and found a post from last year that described exactly how to do it. (Oct 7, 2002, Garth Dahlstrom). He was talking about downloading something called Msys to provide a shell to mingw, but it turns out it isn't necessary. What it boils down to is
1) go to your torque directory, and do this:
2) run make -f mk/configure.mk OS=WIN32 COMPILER=GCC2 BUILD=RELEASE
3) run make clean
4) run make
Worked for me.


I have another question for anyone reading this, though... I can't get through a compile of the tools using mingw, gcc 2.95.3-6. what I get is compilation through "Linking map2dif.exe" then a series of undefined reference errors starting in winWindow.cc. (first one, "undefined reference to 'GetStockObject@4'", many more similar)

Anybody have any ideas? thanks!