I'm trying to get the cross compiler for Windows RT beside Visual Studio. Unfortunately there is no MinGW-ARM so I have to do it by myself. I pretty much know what I want: PE32+, Thumb2 code always. Pretty sure that GCC can handle both so I thought it will be easy.
Apparently I'm wrong: I can't find a working target. Since I'd like to have MinGW, I chose "arm-w64-mingw32" as my target and configure of GAS told me it doesn't know what output format is. Also tried "arm-windows-pep", GCC didn't know what this is.
I took look at both configures, and I can hardly understand the logic in their code since there is not easy way to debug the shell script under Windows. Can somebody tells me the steps to add a new target?