JaeSilbinaryWolf@mastodon.gamedev.place
Nov 4, 2026, 1:35 PMHehe, got my Zig project running on at least the PSP emulator again via Zig 0.17.1. Uses SDL3 + ImGui.
Automagically pipes the entire Zig build system/process through "psp-gcc" / "psp-ld", compiles the main Zig exe code to a single *.c file.
Stealable from here:
- PSP-specific code: https://github.com/silbinarywolf/desk-breaker/blob/78c259852ebd028be0decf15d4669f6472794d9e/third-party/psp/src/pspbuild/Tools.zig
- GCC-ifying runners, this makes a bunch of Zig artifacts compile/link with gcc: https://github.com/silbinarywolf/desk-breaker/blob/78c259852ebd028be0decf15d4669f6472794d9e/third-party/psp/src/gccbuild/GccArtifact.zig