This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: Custom stack allocation for GMP arrays


Hi Blake,

Mac OS 10.4.2 is a Unix family OS.  The stack size is not controlled by the
application (compiler / linker), it is controlled by your environment.

>From the command line, type this:
ulimit -s

You should see "8192".

To change your limit, try this:
ulimit -s 16000

Now...
ulimit -s
...should show "16000".

For more information on the ulimit shell intrinsic command:
help ulimit

HTH,
--Eljay


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