Page 1 of 1

Linux: any way to manually build devkitPro without tampering with system directories?

Posted: Sun Jun 15, 2025 3:41 pm
by voidstarp

Hello.
I would like to learn to develop for the Nintendo DS.
I have Gentoo installed, and i read on the official wiki, that i can use pacman to pull in packages, but I'd rather not install it, because there is a reason, that it's not in the main Gentoo repo. Also the tutorial says to do other stuff too, which I'd rather not do:

Set RootDir to root (/)

I'm familiar and used to building a lot of stuff manually, so I'm prepared if this is not a walk in the park.

So my question is, what are the bare minimum repositories, that I need to build to have a toolchain?
I presume i need the following:

But is there a "core" repository? I tried https://github.com/devkitPro/buildscripts, but the first thing it needs is root access, so no...
Also I saw there a gcc patch. Is that mandatory?
I'd also rather have it sitting in my user's environment only and not in the whole system.

I really would like to get this to work, but I do not want to install stuff all over the system.


Re: Linux: any way to manually build devkitPro without tampering with system directories?

Posted: Sun Jun 15, 2025 3:48 pm
by WinterMute

We don't support users building our packages themselves, sorry. There are around 300 packages with various interdependencies that are difficult to handle without a package manager.

We do provide docker images which may suit you better.


Re: Linux: any way to manually build devkitPro without tampering with system directories?

Posted: Sun Jun 15, 2025 10:28 pm
by voidstarp

yeah, was thinking about something similar: worst case I'll just set up some virtual machine to use as a build system with some easy out-of-the box linux distro