You make have better luck using Linux and the AROS m68k SDK to cross-compile to AOS.
It'll be much faster than compiling under WinUAE, and with a little bit of care the resulting binary should run on AOS 3.x easily enough.
PM me if you need more details.