This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




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