I am not sure if this can be done, specially given that you are going to do it from Windows. However, have you had a look into GCC manual? http://www.gnu.org/software/gcc/onlinedocs/
i've read a little from the manual but it seems that i should be looking at the build options for cygwin-gcc instead.
i am trying to compile the JOS operating system that is used as an example in OS design courses at UCLA, MIT and NYU. It compiles fine on linux (and i am having issues compiling it on cygwin). I also think that it needs to be an ELF binary... but I haven't got it to compile yet anyway.
We use windows at work, so i'm looking at doing a little work on it in my free time there...