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 > dev c++ integration?!

#81220 - silent_code - Thu Apr 27, 2006 10:27 pm

hi there!

this question has surely been answered in the past, but could someone give me a tip or two on how to integrate the devkit arm compiler for nds into devc++ (5, well the last release... 4.9.x)? i have tried it on my own, but couldn't get it to work. would be enough if someone posted a link to a thread...

thanks!

greets

Rob

#81595 - silent_code - Sun Apr 30, 2006 1:42 pm

anyone?

#81596 - dualscreenman - Sun Apr 30, 2006 1:47 pm

I have no clue. (Needs help too)
_________________
dualscreenman wrote:
What about Gaim DS? Gaim pretty much has support for all IM programs.
tepples wrote:
"Goshdammit, the DS is not a Gaim-boy! It's a third pillar!"

#81782 - telamon - Tue May 02, 2006 2:46 am

Hi! I've attempted this in the past but in the end...

The thing is that Dev C++ likes to generate it's own makefiles and handle all toochains by itself, whereas devkitarm has it's own special makefile vodoo which should not be overridden. The main difference is in the creation process of an NDS binary and the process of creating an win32 binary.

I think it is possible to fully integrate devkitarm into dev c++ but once a new version of devkitarm would be released i suspect you'd have to start all over again.

But that's talking about "full" integration where dev cpp is actually aware of everything and compiles the files itself.

If you just wish to use it as an editor that works just fine!
But you will have to make two custom tool macros, one to run "make" in the project path and one to run the nds file through an emulator or simply launch it over wifime.

The reason to why you need a run macro is because the standard file-extension of a binary is hardcoded as ".exe" in dev cpp. I haven't found a way to change this.

And to be honest with you, you won't get what you're expecting. Dev cpp's editor is actually a pain, the syntax error checking usually hangs up after a while and I remember having to restart dev-cpp once every 30 minutes.

So I'd personally recommend programmers notepad 2 which is bundeled with devkitarm. It might not look much of an "IDE" at first sight, but it has a very flexible framework which allows you to practically turn it into anything you'd like.
_________________
http://manifested.ath.cx

#81862 - silent_code - Tue May 02, 2006 3:16 pm

i've changed from msvs to devcpp years ago and i'm quite comfortable with it. but till now i had to use it as an editor for my nds stuff and compile it via dosbox. that sucks. so i want to set up the devkit arm gcc compiler as a compiler set and use it for my nds... there's also an option to select a custom makefile. the problem is that it's kionda tricky to set the compiler up! damn it! maybe i'll have to try again myself...

anyway, thanks for the respose!