------- Comment #30 from dannysmith at users dot sourceforge dot net 2009-09-07 04:01 ------- (In reply to comment #24) > Subject: Re: [4.5 Regression] crashed compile Qt4 gui > library > > On Sun, 6 Sep 2009, t66667 at gmail dot com wrote: > > > > > > > ------- Comment #22 from t66667 at gmail dot com 2009-09-06 22:20 ------- > > (In reply to comment #16) > > > Try building without the patch but with unlimited stack (ulimit -s > > > unlimited) > > > and see if the same error appears. > > > > > > > You mean cross compile the "native compiler" from linux by setting the shell > > with command "ulimit -s unlimited" ? > > Or you want me to build the cross compiler and native compiler then try and > > build qt4? > > Just the same way as you reported the bug (I understand that this > was a native compiler issue?). There surely must be a way to increase > the maximum stack size with windows?
To increase the stack size on windows, add -Wl,--stack=0x20000000 (for eg 32 Mb stack). This hard codes the exe's stack size into the program header. > > Richard. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254