This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
heap initialisation for malloc
- From: Pascal Degryze <pascal dot degryze at traficon dot com>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 16 Oct 2002 16:59:29 +0200
- Subject: heap initialisation for malloc
Hi all,
when using malloc, my code crashes.
Because malloc is part of a library, I cannot debug the source.
I think the problem has to do with heap-initialisation.
Therefor, how can the heap be initialised, such as:
heapbase, heapsize...
What must be added to the linker script?
I'm using arm-elf tools.
Thanks,
Pascal Degryze
PDG@Traficon.com
R&D department
Traficon n.v.
Meensesteenweg 449, bus 2
B-8501 Bissegem
Belgium
Tel: +32(0)56/37 22 00
Fax: +32(0)56/37 21 96
http://www.Traficon.com