Custom stack allocation for GMP arrays

John Love-Jensen eljay@adobe.com
Fri Dec 2 13:06:00 GMT 2005


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



More information about the Gcc-help mailing list