Grab cygwin and use gcc. Then you'll know how to do it on windows and linux.