Hello
When you are building C++ code there are some additional predefined sections that you need to place in your linker command file and you need to define some linker symbols that he startup code will use to run properly..
The additional sections are: .staticinit, .exception and .exception_index.
The additional symbols are
_cpp_staticinit_start, _cpp_staticinit_end, , __exception_table_start__, , __exception_table_end__
Attached is a small example project for CodeWarrior StarCore V3.2.
Project is set up for SC140 simulator, but should show you how to activate/build C++ with StarCore build tools.
CrasyCat
Message Edited by t.dowe on 2009-09-04 11:03 AM