Files
psxrecomp/tools
Matthew Stanley f4bbcaf4ca overlay compile: auto-detect gcc toolchain dir onto PATH
mingw gcc invoked by absolute path (the runtime's cmd.exe autocompile spawn,
or any launch without mingw64/bin on PATH) fails SILENTLY — exit 1, empty
stderr — because cc1/as/ld and the runtime DLLs resolve via PATH. _toolchain_env
auto-detects the bin dir ($PSX_MINGW_BIN, the --gcc path's dir, `which gcc`, then
common locations) and prepends it for the gcc subprocess. Fixes overlay-DLL
autocompile so it works regardless of launch environment.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:41:19 -07:00
..