This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: ARM startup stack & C++


Andrew Lunn <andrew.lunn@ascom.ch> writes:

[...]

> 
> Sounds reasonable. Anyone with a non-trivial static initialiser
> probably has enough MB of memory that 8K is will not be missed. 

Agreed.

> > 4) A completely different and wonderful solution?
> 
> Change your static to dynamic initialisationm so it can be done in the
> context of a thread you can control the size of the stack.

I'm already doing something like this but even the C++ runtime support pulled
from libgcc causes a stack overflow.

Thanks,

Robin


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