I got gcc working to compile BREW apps for Win32 in the simulator. The key is the -mno-cygwin option to gcc. I will elaborate soon on the full rundown. I still don’t have the debugger quite working. It seems to be able to load in the symbols from the DLL, but it doesn’t hit the breakpoints properly. I think the situation is tricky because we are debugging an EXE that has no symbols that dynamically loads a DLL with symbols via Eclipse/GDB, which is a pretty exotic setup.
I can also say that the Microsoft debugger I mentioned previously is pretty user unfriendly. It’s kind of like command line gdb, except more clunky, from what I could tell.