Please, don't!
SDL on nds was only a proof of concept. It works, yeah, but it is darn slow and it has some limitations (touch screen, double screen, sound) making it the worst choice for nds programming.