On Sun, Mar 17, 2013 at 1:52 AM, Nathan K. Ladwig (Netham45) <netham45@xxxxxxxxx> wrote: > I would like to begin work on getting GCC to target Windows RT (Windows on ARM) > > Here are the current relevant known details of the target: > Uses PEs > PEs seem to use the same header values as the x86 counterparts, except > with the 'Machine type' field set to 0x01C4, instead of 0x014C (See > http://i.imgur.com/KMjNuUF.png for more header information) > Can use ARM code, but interrupt handlers will (incorrectly) throw the > CPU back into THUMB mode upon return, therefore ARM code is highly > unstable > Because of this, THUMB2 is the preferred code format > > I admittedly have done very little work with GCC and I'm not 100% sure > where I would start on porting it to target Windows RT. My main > interest is to support desktop applications, which can be achieved > with the jailbreak tool I maintain. My main goal is to get GCC running > to aid development on the platform, I don't have a specific > application in mind (though, I suppose that X-Chat would make a good > test case, due to it's complexity). > > I've looked at 'cegcc', and I believe that CE is too far removed from > Windows RT to be of any use, I believe that a better starting point > would be to get the same GCC that targets x86/x64 Windows to target > Windows on ARM. > > So, my main question is: Where do I start doing this? > > Thanks. > > Sidenote: I accidentally sent this to the 'gcc' list instead of the > 'gcc-help' list the first time I sent it. Your best bet is joining mingw-w64.sf.net and helping us. We're under way with it right now, and we'd be delighted to have your help.