gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > a couple of questions from a noob

#102981 - shinya - Mon Sep 18, 2006 1:18 pm

Hi there!
I'm afraid of asking these boring questions guys, but I cannot figure them out by myself.
I'm a coder (oracle stuff, java stuff, c++ stuff, etc...) in real life, and I bought my ds lite some couple of weeks ago and excited about homebrewing it I decided to give it a try in my spare time.
I just download devkitpro, a pair of emulators (dualis, ideas) and PAlibs.

So here are my questions:
1)Does devkitpro includes a compiler?
2)Can I use C++ with templates, STL, and such (maybe... boost??), or I'm constrained to use C? And in this case, what part of the standard library can one use?

Some suggestions to the forum:
It would be *very* useful a detailed and updated tutorial (with lots of screenshots) on setting up a programming environment with free tools (like code::blocks with mingw, or visual studio express).

#102986 - MaHe - Mon Sep 18, 2006 1:37 pm

Yes, devkitPro does indeed include a compiler.

In the DS homebrew development you can currently use either ASM, C and C++ (with two basic libraries: libnds & PA_Lib). Try http://www.dsprogramming101.com.
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#102992 - shinya - Mon Sep 18, 2006 2:39 pm

Thank you very much for the reply! I appreciated the link :)
Now I've a somehow clear idea of what's going on in developing for DS!
What I'm missing is some spare time, but I hope to realize something like a 3d engine soon :) eheheh!
Thanks and bye!