Could someone refer me to the instructions for PSP, PS4, PS5, Wii, GC, DC, whatever else there is which you all want?
I fixed some issues as well. The tutorial btw. works on Debian, Ubuntu, Kali and probably others on WSL as well as NATIVE!
I know this is an old post, but PSP stuff, a lot of it, including the cfw (even ark4) I believe runs older versions of the sdk. The PSP has psp-pacman iirc, which allows you to install or update specific things in the sdk.
As for the PS4, there's open orbis, orbisdev, and an aptly named PS4 sdk. Open orbis seems to be the most widely used, at least in my experience. I couldn't get open orbis to compile though, the other two were fine, so I used their precompiled one. If you want to build sm64, for example, use 0.5.1 or 0.5.0 with clang-10. Ubuntu 20.04 is a good distro to use for this.
PS5 has a payload sdk. There's not much to explain here, and it's easy to set up. Most things seem to need clang-15 or 16 like libhijacker or use gcc. I think by default the PS5 uses java-11, so things like the jar loader use the same.
Wii and gc can be compiled with devkitpro. Some things like nintendont require an older version of devkitPPC or portlibs. I think nintendont will freeze when exiting if you don't use a specific version.
Dreamcast uses kallistiOS mostly, I think. It has several parts, and you can choose the gcc version when compiling. I think the default is 13.2. I've managed to compile sm64, doom64, sonic mania, and a few others with it. It does have cmake now too.
Edit: I hope this is helpful for someone. I have a lot of experience compiling for many systems.
btw, KallistiOS or the dreamcast sdk has been fixed through a pr for ubuntu 20.04, which doesn't have work with "command" in the make shell, I believe. they changed it to which, which worked for me, so I have ubuntu 20.04 with KallistiOS and cmake, so sonic mania should be buildable in that. I was building it in ubuntu 22.04, which works fine with the scripts by default.