I got everything compiling OK. And a basic sample working .

I'm now looking into OpenGL support, unfortunately the port of SDL to the DS does not support Opengl so I'm having to add it. Currently I just adding code like this

Code:
// Set the video mode to 3D
	if (flags & SDL_OPENGL) {
	   videoSetMode(MODE_0_3D| DISPLAY_BG2_ACTIVE);
	   //set the sub background up for text display (we could just print to one
	   //of the main display text backgrounds just as easily
	   videoSetModeSub(MODE_0_2D | DISPLAY_BG0_ACTIVE); //sub bg 0 will be used to print text
	}
but apart from the MODE_0_3D I'm not sure what everything else actially does....

But things are looking good so far.