setup on win2k with free software

I would like to code up some opengl c programs on my windows 2000 machine, but don’t have the borland or ms compiler. I’m trying to use textpad with DJGPP - a gcc emulator for windows. My setup works fine for basic (non-OpenGL) programs.

Where do I get glut.h and windows.h and whatever else I need, where do I put them, and what system variables do I need to change to get c programs including these header files to compile properly?

any suggestions?

Everything you need should be here:
http://www.xmission.com/~nate/glut.html

HTH, G.

Isn’t DJGPP dos only? I.e. no windows stuff. Try the windows port of gcc MingW .

Or: http://www.borland.com/bcppbuilder/freecompiler/

I myself use http://www.cygwin.com/