Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/