Changing stack size

Stacie L. Wetzel swetzel@nycap.rr.com
Sat Aug 24 18:05:00 GMT 2002


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/



More information about the Cygwin mailing list