| 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://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: stack overflow in cygwin_nt-5.0 |
| Date: | Thu, 11 Nov 2004 11:04:30 -0000 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20041110204218.GB10427@tortuga.telka.sk> |
| Message-ID: | <NUTMEGGryWtIIZS2TRq00000673@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 11 Nov 2004 11:04:30.0968 (UTC) FILETIME=[38042780:01C4C7DE] |
> -----Original Message-----
> From: cygwin-owner On Behalf Of Marcel Telka
> Sent: 10 November 2004 20:42
> To: cygwin
> Subject: Re: stack overflow in cygwin_nt-5.0
> > >Don't declare huge data structures on the stack.
> > I have to use large matrices (even larger) in my application.
> > So, how to do it?
>
> malloc() ?
Or make them static, instead of local variables.
Or use the compiler flag -Wl,--stack=[big number goes here]
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |