delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/24/13:43:33

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
From: "Stacie L. Wetzel" <swetzel AT nycap DOT rr DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Changing stack size
Date: Sat, 24 Aug 2002 09:19:49 -0400
Message-ID: <000601c24b70$ed65fe60$c74ac218@crd.ge.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

Newbie question: I have a fortran code that was developed in HP UNIX, and
which runs successfully in Linux with g77. I now am trying to compile and
run it in CYGWIN using g77. It compiles successfully and runs about halfway
through, but then gives a segmentation fault which appears to be due to a
stack overflow. I have found some references to increasing stack size on
this mail list, but ulimit -s does not appear to work in cygwin, and there
is no --stac argument for the g77 compiler. When I run ulimit, the stack is
set to 2048 KB. How can I fix increase my stack?

Thanks,

-Todd Wetzel


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019