Is there a way to increase the stack size of a Windows application at compile/link time with GCC?
You could run editbin after linking.