Stack Requirements

Stan Katz stan@remote.control.com
Fri Jun 16 06:24:00 GMT 2000


Hi all,

I know that gcc was designed for a use within an OS and assumes that there
is enough Heap and stack available but I can't seem to find out how to get
the stack requirements for my embedded projects. So far I have been able to
get away with just allocating a big stack and then testing that I don't run
out. I know that most compilers do track stack usage and there are some that
even allocate space in a special stack segment (aside from those that have
to for the X86) so that you can control the allocation in the linker.

Is there a way to get the stack requirement information from GCC.

Thanks
Stan Katz

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list