Atmel Studio 6.1 works without needing MingW.

Still needs Yagarto.

See https://github.com/synthetos/g2/wiki/g2-in-Studio6
added MingW compile changes
Merge branch 'refs/heads/rob' into alden