I'm new for CrossStudio for ARM.
Our project consists of C and C++ files, which works fine so far.
But, we try to use "dynamic_cast" in C++ which requires RTTI option enabled,
then link error happens something like this.
undefined reference to `__dynamic_cast'
(.rodata._ZTI17PlutoEventManager[_ZTI17HogeEventManager]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
I think this is because gcc linker is used, not g++ linker.
(I tried similar code using gcc/g++ on linux and had the same error when using gcc linker,
but not happen when using g++ linker or using -lstdc++ option.)
However, I can not see any g++ linker in the installation path under following directories
C:\Program Files\Rowley Associates Limited\CrossWorks for ARM 4.3
How can I add/install g++ linker ?
Or is this something the limitation of CodeStudio for ARM ?
Really appreciated the help.
Please sign in to leave a comment.