Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - stack size: (3 Items)
   
stack size  
A program is compiled with qcc -N1000k but when I look at the program's memory information via the IDE it says the stack
 is 500k ( most of it unallocated ). 

Why the discrepancy?
Re: stack size  
On Fri, Jul 18, 2008 at 11:53:47AM -0400, Mario Charest wrote:
> 
> A program is compiled with qcc -N1000k but when I look at the program's memory information via the IDE it says the 
stack is 500k ( most of it unallocated ). 
> 
> Why the discrepancy?

Does 'readelf -l <executeable> | grep NOTE' show anything.
Are you building with the gcc4 tools?

-seanb
Re: stack size  
> On Fri, Jul 18, 2008 at 11:53:47AM -0400, Mario Charest wrote:
> > 
> > A program is compiled with qcc -N1000k but when I look at the program's 
> memory information via the IDE it says the stack is 500k ( most of it 
> unallocated ). 
> > 
> > Why the discrepancy?
> 
> Does 'readelf -l <executeable> | grep NOTE' show anything.

NOTE           0x05e28c 0x00000000 0x00000000 0x00038 0x00000     0x4

> Are you building with the gcc4 tools?

No, with 3.3.5 but I just saw that the default is 4.2.1.  In theory all of our Makefiles force 3.3.5.  Maybe some of the
 4.2.1 binary are slipping in somehow


> 
> -seanb