Using Eclipse as an IDE. (For now on MACOS.)
Download Eclips, version C/C++
you can configure Eclipse to make nds files.
(but this link does not give all information)
Issue: Eclipse does not see the header files ???
Solution: carefully configuring the project properties
(a little bit different for MACOS and XP)
Here for MACOS:
Create a makefile project, using MACOSX GCC
Then project properties — right click on project in Project Explorer —: (follow the pictures)
in path and symbols we have a range of tabs to take care of…
make sure this is shown in the Project Explorer, sometimes there is a Default ARM& folder, which is blocking path’s…so shift around until you have this configuration. The include folder has the header files. This folder is also added using Eclipse new folder, than the header files added.
To refresh do clean… under tab project of Eclipse. There will be automatic rebuilding.
My console said:
**** Build of configuration Default for project testingWhileItRains ****
arm-eabi-gcc -MMD -MP -MF /Users/contrechoc/Documents/workspace/testingWhileItRains/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/Users/contrechoc/Documents/workspace/testingWhileItRains/include -I/Users/contrechoc/Documents/workspace/testingWhileItRains/build -I/opt/devkitpro/libnds/include -I/opt/devkitpro/libnds/include -I/Users/contrechoc/Documents/workspace/testingWhileItRains/build -DARM9 -c /Users/contrechoc/Documents/workspace/testingWhileItRains/source/main.c -o main.o
/Users/contrechoc/Documents/workspace/testingWhileItRains/source/main.c: In function ‘main’:
/Users/contrechoc/Documents/workspace/testingWhileItRains/source/main.c:88: warning: ‘touchReadXY’ is deprecated (declared at /opt/devkitpro/libnds/include/nds/arm9/input.h:94)
/Users/contrechoc/Documents/workspace/testingWhileItRains/source/main.c:21: warning: unused variable ‘test’
built … testingWhileItRains.arm9
Nintendo DS rom tool 1.41 – May 1 2009
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
built … testingWhileItRains.nds
(after a few houres of trying to get running with Eclipse….)
Eclipse with C/C++ is called CDT for Windows.
apparently you can also use a prepared nds configuration: (Eclipse->Help->Install New Software-> add website)
This is for Windows (?) I’ll try this on the XP…
The problem with WIndows is the C compiler MINGW or CYGWIN. These have to cooperate with ECLIPSE and that is somehow not easy(?).
help installing the nds plugin for Eclipse:
well, tried everything for the moment with Eclipse on XP…..:-(((
Programmer’s Notepad works without a flaw, and without any complaining: we’ll stick to Programmers NotePad!