Hi,
I'm develooping on STM32F2xxx chip with an evaluation board (provided by ST) under uvision 4 and actually i failed when i trying to call some code written in C++ language. In my project, i use the standard library (not the microlib) and i wonder what i could change in my startup to call the main() function in a .cpp file? If you have any idea or suggestion? it could help me?
Regards
You should not have to change anything. main() should still use the C calling convention, and the tools should manage to make sure that any extra library init calls are performed before reaching main() - besides C++ library initialization, a C++ program must also construct all global objects before main() is entered.
actually i failed when i trying to call some code written in C++ language
Failed ... how? How do you expect anybody do be able to help you if you don't describe what actually happened?
i wonder what i could change in my startup to call the main() function in a .cpp file?
What made you think you had to change anything to get that effect?