Truthfully, I use Windows, but since gcc was designed as a Linux compiler I figured I should ask here. Although, the question concerns Windows as well. If no one knows, I'll ask in another forum.
What does the -mwindows option do, specifically. I know that it's required to compile Win32 Programs, but it's not listed in the GCC online documentation. -M is, but that's not what I'm looking for. I'm thinking this option might be unique and it just tells the compiler to #define something that's required for windows.h headers. But, I'm also thinking it might be a -m option passed the argument windows, similar to -l. But this doesn't seem right to me either, because I've searched my includes and libraries and the only file with the name windows is windows.h. Can anyone enlighten me?



LinkBack URL
About LinkBacks


