This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Changing stack size
- From: "Stacie L. Wetzel" <swetzel at nycap dot rr dot com>
- To: <cygwin at cygwin dot com>
- Date: Sat, 24 Aug 2002 09:19:49 -0400
- Subject: Changing stack size
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/