Tool

ido-static-recomp

Statically recompiles the IRIX MIPS programs of SGI's IDO 5.3 and 7.1 C toolchain, such as cc, cfe, uopt, ugen and as1, into native Linux, macOS and Windows executables, so matching decompilation projects can build with the original compiler code on modern hosts. It recompiles compilers, not games: it neither decompiles nor translates game code.

Requirements and limitations

  • Building needs make and a C11/C++17 compiler (build-essential on Debian/Ubuntu, Homebrew make on macOS). make setup builds the vendored rabbitizer disassembler and the recompiler; make VERSION=5.3 or VERSION=7.1 then emits the toolchain under build/<version>/out, with RELEASE=1 for optimized builds and TARGET=universal for universal macOS binaries. Release v1.2 (2024-11-12) ships IDO 5.3 and 7.1 archives for Linux, Linux ARM, macOS and Windows; the reviewed main commit dates from 2025-07-05.
  • Recompiled programs expect a flattened directory beside cc, with USR_LIB and USR_INCLUDE environment overrides for the /usr/lib and /usr/include redirection. The IDO 5.3 program list includes copt, ld and strip, which the 7.1 list lacks.
  • Perfect Dark pins github.com/Emill/ido-static-recomp at 421e546 (per-function branch, 2021-11-03) as its tools/recomp submodule. GitHub compares that commit with this entry's pin as diverged, 87 commits ahead and 2 behind, and Emill is among the decompals contributors; neither repository is marked as a fork, and the Perfect Dark entry keeps its own pin. Other matching decompilations, such as Majora's Mask, download builds from decompals.
  • The repository bundles the original IRIX compiler binaries under ido/5.3 and ido/7.1. Only ido/5.3 carries an SGI freeware notice; no license file covers the recompiler or the IDO 7.1 binaries at the reviewed commit, GitHub detects no repository license, and the vendored rabbitizer keeps its own MIT license. No license is asserted here, and no toolchain was built or run.

About this entry

Type
Tool
Category
Game analysis tools
Relationship
Foundation tool
Targets
Binary · Game

Sources reviewed

The description was reviewed against primary sources. This does not establish runtime testing, security auditing or verified compatibility.

Primary sources

  1. README.md GitHub · decompals/ido-static-recomp · Revision d5aec59
  2. DOCS.md GitHub · decompals/ido-static-recomp · Revision d5aec59
  3. Makefile GitHub · decompals/ido-static-recomp · Revision d5aec59
  4. ido/5.3/LICENSE.md GitHub · decompals/ido-static-recomp · Revision d5aec59
  5. ido/7.1 GitHub · decompals/ido-static-recomp · Revision d5aec59
  6. tools/rabbitizer/LICENSE GitHub · decompals/ido-static-recomp · Revision d5aec59
  7. https://github.com/decompals/ido-static-recomp/releases/tag/v1.2
  8. .gitmodules GitHub · n64decomp/perfect_dark · Revision 169ed48
  9. https://github.com/decompals/ido-static-recomp/compare/421e546956ceae984927e609b083195e9e81659e...d5aec59932034b8a20f23f471297a55c45dcbc45