Click to See Complete Forum and Search --> : compiling for windows


JeffBarge
04-02-2002, 11:37 PM
Is there a way to use gcc to compile a program that will run on windows? special magic options that will make it so, or certain headers that I'd have to include in my source or something?

kmj
04-03-2002, 10:17 AM
you mean compiling on linux for windows? If you just want gcc on windows you can get cygwin. Otherwise, I don't know.

sasKuatch
04-03-2002, 05:39 PM
i don't think you can do that. i know you can compile for different processors, but no for a different OS. the header files are all different (OS-specific, etc), :confused: