This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]