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 Misc > Compiling

#104010 - JAKETHESNAKE - Mon Sep 25, 2006 11:44 pm

i have no clue how to compile apps for the ds. do i use devkit pro's "programmers notepad". if it is that, one i open it up im lost. can someone help me?

Thank you, Jake

#104011 - shadowghost21 - Tue Sep 26, 2006 12:03 am

I have the same problem, I have devkitpro. I am running Windows and that crapy ass Msys and have written a simple hellow world program in c++ and I have absolutly no idea how to compile it. Same goes with regular windows. I have access to any kind of software I might need, such ass microsoft visual studio, borland c++ (as my college stocks these programs free for CS majors and computer engineers) NEED SOME HELP!!!

#104036 - Mr. Picklesworth - Tue Sep 26, 2006 2:55 am

Firstly: Msys is not crap; it's a wonderful piece of software and we should be very thankful of its existence. (Otherwise, we would have to persuade people to use Linux which is oddly difficult to do).

If you guys want, you can try starting off with PALib which makes it really easy to start up and compile with a quick look at the instructions. In my opinion it's a nice and encouraging place to start with DS development, though others disagree...

You'll still need to have DevKitPro and "make" and all that, so I suggest you carefully read the Setting Up Page at devkitpro.org
There you can find both a very easy installer/updater program, and a manual method.
Most importantly, make sure that the environment variables are set, because they are needed for cmd to find the new commands added by msys as well as for make to know how to compile stuff!

Finally, if any of you dislike the terminal, three tips:
-You can drag & drop files / folders to the terminal window to quickly enter their path
-Windows's terminal does have tab complete, where you can hit tab to finish what you were typing. It's just about the worst tab completion I've used (DSLinux does better!) but it does work.
-The Open Command Window Here powertoy for Windows can make it nice and quick to start up the command window in order to run make. I don't use it because I've had a bad experience with the Virtual Desktop Manager Powertoy (don't even look at that one!) and primarily because I like quick and concise right click menus, but it probably works well. Powertoys are here.
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896