I recently discovered that great toolset called SGDK. My question is: can I use C++ with SGDK instead of plain C?
Thanks in advance

Moderator: Stef
I do my dev'ing in Xubuntu, so no, I don't have a Windows build. Others have reported that they could follow my directions using mingw in Windows:SoullessSentinel wrote:Do you have a Windows build of your toolchain? Or will I have to compile myself in Cygwin?
Working from the PD sources (I combined three different PD TicTacToe sources along with my own changes to make the examples), the overhead was HUGE... until I commented out iostream (since I no longer used cin/cout for the game), then it dropped to darn near the same size of the C version of the example. This main problem with C++ and size on the MD is the linker cannot trace what may or may not be used because of the binary header at the start of the file, so it links in EVERYTHING out of the libs you use... tell it that you might use part of iostream and you get the WHOLE THING. So you have to watch what you include, but otherwise I had no troubles with C++. I need to work on a larger C++ project to get a REAL idea of how it does on the MD/32X.I wasn't expecting the overhead to be that little ,so, I wouldn't mind giving it a try myself.
Very interesting, Chilly. Do you have any experience in this context with STL? Perhaps with template system linker is able to link only what you useChilly Willy wrote:I do my dev'ing in Xubuntu, so no, I don't have a Windows build. Others have reported that they could follow my directions using mingw in Windows:SoullessSentinel wrote:Do you have a Windows build of your toolchain? Or will I have to compile myself in Cygwin?
viewtopic.php?p=12858#12858
on the plus side, once you figure out how to build it yourself from my directions, it becomes easy to update/maintain your toolchain yourself instead of needing to wait for someone to make an update.
That was why I worked it out myself - I got tired of needing to rely on the uClinux m68k compiler, which hadn't been updated in a LONG time.
Working from the PD sources (I combined three different PD TicTacToe sources along with my own changes to make the examples), the overhead was HUGE... until I commented out iostream (since I no longer used cin/cout for the game), then it dropped to darn near the same size of the C version of the example. This main problem with C++ and size on the MD is the linker cannot trace what may or may not be used because of the binary header at the start of the file, so it links in EVERYTHING out of the libs you use... tell it that you might use part of iostream and you get the WHOLE THING. So you have to watch what you include, but otherwise I had no troubles with C++. I need to work on a larger C++ project to get a REAL idea of how it does on the MD/32X.I wasn't expecting the overhead to be that little ,so, I wouldn't mind giving it a try myself.