@terry could also use the mingw64 toolchain for making windows builds, that's what I do and just set my ide to execute it using WINE. linux/gcc is a great environment for cross development to practically anything, you can have multiple profiles/configs installed side by side and use environment files to configure more fine-grained variations.