I have tried projects using both malloc and new, and neither seems to work. I am using the latest version of WinARM to compile these programs (the first with arm-elf-gcc and the second with arm-elf-g++), simply modifying existing examples in the WinARM package.
Is there some sort of special build for GCC that you have to do to get dynamic memory allocation? Maybe define a heap or something in the linker file? I’m out of solutions, so maybe one of you guys has tried this and can help me out. Thanks.