Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

GNU and Malloc

GNU and Malloc

2004-04-19 by Milos Prokic

Hi everyone,

I\u2019m using LPC2106 for some system development, and I\u2019m having some trouble in getting the malloc to work properly. I was wondering if anyone has gotten the malloc to work under GCC. I think I have to set the heap size in my linker file or somewhere inside my startup C code. I believe the variables I need to initialize and give values to are __heap_start and __heap_end, but for some reason that doesn\u2019t work.

Any help or insight is greatly appreciated!

Thank you all very much in advance,

m.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.