If you have a copy of Windows, you could install [url=www.virtualbox.org]VirtualBox and run Windows within VirtualBox to compile Free GLUT from source. I use this approach to test and compile programs on Windows.
If you're feeling brave, you can try doing a normal ./configure && make, but use these flags for ./configure:
Code:
./configure --prefix=/usr/i586-mingw32msvc --host=i586-mingw32msvc --build=i586-linux
Be warned: the command above is just a rough guess and you will most probably need to change it. Trial is error is inevitable.
I have found that the --build flag is particularly problematic. If you run /usr/share/libtool/config/config.guess, then it will spit out a value you can use for the --build flag.
Again, I have to emphasise that this will probably involve a lot of trial and error, and may possibly bork your Mingw32 installation (or even worse, depending on your adventurousness).
Bookmarks