RE: gcc 3.3.1-3 runtime error: static data storage size

2004-07-16 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Faylor > Sent: 16 July 2004 15:16 > >Yes, I see. Yhe problem is the default stack size on cygwin > (2 MB), you > >can increase it. > > > >$ gcc -o aa -Wl,--stack,8388608 aa.c > > > >$ ./aa > >ok > > > >$ cat aa.c > >#defi

Re: gcc 3.3.1-3 runtime error: static data storage size

2004-07-16 Thread Gerrit P. Haase
Christopher wrote: > On Fri, Jul 16, 2004 at 10:36:23AM +0200, Gerrit P. Haase wrote: >>Pietro schrieb: >> >>> Gerrit, >> >>> I think you just did: >> >>> the program should print "ok" upon executing and it didn't. if you debug, >>> say, with insight, aa.exe will bail before reaching the printf st

Re: gcc 3.3.1-3 runtime error: static data storage size

2004-07-16 Thread Christopher Faylor
On Fri, Jul 16, 2004 at 10:36:23AM +0200, Gerrit P. Haase wrote: >Pietro schrieb: > >> Gerrit, > >> I think you just did: > >> the program should print "ok" upon executing and it didn't. if you debug, >> say, with insight, aa.exe will bail before reaching the printf statement, >> generating a segme

Re: gcc 3.3.1-3 runtime error: static data storage size

2004-07-16 Thread Gerrit P. Haase
Pietro schrieb: > Gerrit, > I think you just did: > the program should print "ok" upon executing and it didn't. if you debug, > say, with insight, aa.exe will bail before reaching the printf statement, > generating a segmentation violation signal. > let me know. thanks for looking into it. > P