I would like my game to compile on Windows, Mac, and Linux, without having to change the code too much between the three. Preferably, I would be able to use Visual Studio 2008 for Windows, XCode for Mac, and Eclipse for Linux.
From what I understand, the only way to ensure that there won't be any platform-specific bugs is to build on all three platforms using the same compiler, which would be GCC. I already have a Visual Studio solution that compiles fine, and I did get it to compile on the Mac a few months back, but I need a universal solution. Right now, I'm trying to compile it on Linux, and my current stumbling block is the makefile. I'm looking up how to write makefiles, but in the meantime, does anyone have any ideas?
My Linux distro is Arch Linux, by the way.