Compiling C++ for sh3/sh4 with GCC

Discuss issues related to the fx-9860G Software Development Kit
Junior Member
Posts: 6
Joined: Wed Feb 14, 2018 2:18 pm
Calculators: Casio fx-9860 GII SD Power Graphic 2

Compiling C++ for sh3/sh4 with GCC

Postby qferqo » Tue Feb 27, 2018 3:08 pm

I've found this easy-to-follow tutorial here: ... .php?id=61, but this only covers compiling C code. After I had followed these steps, I was able to compile C code and some C++ code, but it seems like there's no support for the new operator. I implemented the new and delete operators myself, but there are still a lot of errors like 'undefined reference to `vtable for __cxxabiv1::__si_class_type_info''

Has anyone already managed to get a GCC C++ crosscompiler working for the sh3 (or rather sh4), and if so: could you tell me how you did it?

Return to Casio fx-9860 SDK

Who is online

Users browsing this forum: No registered users and 8 guests