This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: Problem Using "New" in C++ When Compiling with GCC



Tool/software: TI C/C++ Compiler

My project (derived from bigtime) breaks whenever I try to dynamically create objects (using "new", trying to create a vector, ...).  I have added "libstdc++.a" found in "kernel/tirtos/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard" and added the C++ headers in the include paths.  Additionally I added space to the heap in the .cfg file.  It's strange because "malloc" works so I can dynamically create things that way.  Is there something else I am missing?

Thanks,

--Jordan