Re: compiling kernel without gcc 3.3
Re: compiling kernel without gcc 3.3
- Subject: Re: compiling kernel without gcc 3.3
- From: Terry Lambert <email@hidden>
- Date: Thu, 5 Jul 2007 11:29:04 -0700
On Jul 4, 2007, at 8:43 AM, Robin Neatherway wrote:
Hi,
If I am asking the wrong list, please direct me elsewhere.
I am trying to compile a fresh kernel in order to increase the stack
size available. I am following the instructions here:
Hold on... I think you may be asking the wrong question...
kernel stack or user space stack?
If kernel stack, then your problem is not that the stack size is too
small (unless you have an insanely deep call graph), but that what you
are storing on the stack is way too large.
If you have large arrays of things on the stack, and they are global,
declare them globally instead, to get them off the stack.
If they are not global, then allocate them just before use, and free
them when they would go out of scope normally (since in the common
case, this will be when the function calls return, this should be easy).
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden