| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <01b501c2d608$743889e0$78d96f83@pomello> |
| From: | "Max Bowsher" <maxb AT ukf DOT net> |
| To: | "Charles D. Russell" <worwor AT bellsouth DOT net>, |
| "cygwin cygwin" <cygwin AT cygwin DOT com> | |
| References: | <000701c2d602$8dab7d20$60c84cd8 AT oemcomputer> |
| Subject: | Re: size limit for static arrays in cygwin/gcc |
| Date: | Sun, 16 Feb 2003 22:12:11 -0000 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
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=0x2000000 > will get you 32MB stack reserve > ------------------------------------- > > Thanks. That was a revelation. I thought stack was for pointers and > automatic variables, ^^^^^^^^^^^^^^^^^^^ Yes, and that's what those massive arrays in your example code are. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |