I'd like to port my game to an unsupported device

Hello :wave:
I want to port my game to Nintendo 3ds, I have the devkit for this plateform (gcc, ld).
But it’s officially unsupported by the Monogame framework.
So I wanna know how to modify the source of it to permit compilation on this console.
Thank you !
(Sorry for the mistakes I am not English)