Re: size limit for static arrays in cygwin/gcc

2003-02-16 Thread Max Bowsher
Charles D. Russell wrote: >> Danny Smith wrote > By default stack reserve is set to 2MB by ld.exe. Try setting stack > reserve higher, eg, > -Wl,--stack=0x200 > will get you 32MB stack reserve > - > > Thanks. That was a revelation. I thought stack was f

size limit for static arrays in cygwin/gcc

2003-02-16 Thread Charles D. Russell
:Danny Smith wrote By default stack reserve is set to 2MB by ld.exe. Try setting stack reserve higher, eg, -Wl,--stack=0x200 will get you 32MB stack reserve - Thanks. That was a revelation. I thought stack was for pointers and automatic variables, and a

size limit for static arrays in cygwin/gcc

2003-02-16 Thread Charles D. Russell
I have two systems, one with 64 Mb of physical memory and standard cygwin installation that I have used happily for over a year, and a newer one with 512 Mb of physical memory. On the new one, I have used regtool to set 1024 Mb. The max_memory program listed in the users guide now verifies 1024

Re: size limit for static arrays in cygwin/gcc

2003-02-16 Thread Max Bowsher
Charles D. Russell wrote: >>> Is there some limit on the size of one-dimensional static arrays in >>> cygwin/gcc short of available memory and 2**32 address space? Is >>> there some place I should be looking this up? Max Bowsher wrote; >> http://cygwin.com/cygwin-ug-net/setup-maxmem.html Charles

Re: size limit for static arrays in cygwin/gcc

2003-02-16 Thread Randall R Schulz
Charles, Did you read that section of the Cygwin User's Guide? That limit is not available RAM, but rather an additional Cygwin-imposed limit. I'd interpret that as a "system" limit and it certainly is "[other than] available memory and 2**32 address space." How much memory do you want to allo

size limit for static arrays in cygwin/gcc

2003-02-16 Thread Charles D. Russell
(Response to Max Bowsher): Thanks, but my question was whether there is any OTHER limit than memory. Any compiler or system limit? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.h

Re: size limit for static arrays in cygwin/gcc

2003-02-16 Thread Max Bowsher
Charles D. Russell wrote: > Is there some limit on the size of one-dimensional static arrays in > cygwin/gcc short of available memory and 2**32 address space? Is > there some place I should be looking this up? http://cygwin.com/cygwin-ug-net/setup-maxmem.html Max. -- Unsubscribe info: ht

size limit for static arrays in cygwin/gcc

2003-02-16 Thread Charles D. Russell
Is there some limit on the size of one-dimensional static arrays in cygwin/gcc short of available memory and 2**32 address space? Is there some place I should be looking this up? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html