On Thu, Dec 19, 2002 at 11:44:53AM +0100, Fredrik Hederstierna wrote:
Thanks for helping us,
we sorted the CYGSEM_LIBC_STDIO_WANT_BUFFERED_IO problem out
we are defining our own malloc() which seems to override a weak eCos-malloc().
When std-streams are constructed it calls malloc it buffered io is selected.
Can this be a problem - what other memory is using malloc() when starting up
eCos2?? I believe eCos1.3.1 works fine when overriding malloc().
Can all mallocs() be disabled? I thought all mem was allocated static.
All memory for the KERNEL package is statically allocated. Other
packages do use dynamic memory.
You could disable malloc in the memalloc package. Then nothing should be
enabled that uses malloc due to the CDL dependencies. Or you could use
that to see where the dependencies are.