What is MinGW64 GCC default stack size?

I am trying to port SDCC (Small Device C Compiler) to MSys2 (CygWin Fork that has MinGW shells) 64 bit and 32 bit version of MinGW64 and ran into stack size issue at run-time of the SDCC.exe program. And, I wondered what the default stack size is or how can I find out on windows what a program default stack size is.

Tim S.