Rockbox Development > New Ports

Nintendo DS

<< < (2/2)

cocooncrash:
It was a good idea, wasn't it ?
I found a site with some good informations about nds hardware : http://www.bottledlight.com/ds/
I start to create a port but i'm not an C++ expert.

gevaerts:

--- Quote from: cocooncrash on April 16, 2009, 08:24:57 AM ---I start to create a port but i'm not an C++ expert.

--- End quote ---

Excellent! Rockbox isn't written in C++!

cocooncrash:
I'm not a C expert at all but Google is my friend.
I installed devkitPro to compile C files for ARM9 cpu, perl and svn for windows
I changed configure file to use arm-eabi-*.
I create a fake config-nds.h
"configure" works and make me a makefile
make dep : no error

$ make
CC tools/rdf2binary
as: unrecognized option `-mcpu=arm7tdmi'
make: *** [/c/devkitPro/examples/rockbox-20710/tools/rdf2binary] Error 1

but my configure file perform a makefile with this gcc options :
export GCCOPTS=-W -Wall -Wundef -O -nostdlib -ffreestanding -Wstrict-prototypes -mthumb -mthumb-interwork -g -march=armv5te -mtune=arm946e-s -DARM9 -fomit-frame-pointer -ffast-math -Wno-pointer-sign -fno-strict-aliasing -Wno-override-init


Navigation

[0] Message Index

[*] Previous page

Go to full version