{
  "added_at": "2026-10-19",
  "additional_evidence_urls": [
    "https://github.com/decompals/ido-static-recomp/blob/d5aec59932034b8a20f23f471297a55c45dcbc45/DOCS.md",
    "https://github.com/decompals/ido-static-recomp/blob/d5aec59932034b8a20f23f471297a55c45dcbc45/Makefile",
    "https://github.com/decompals/ido-static-recomp/blob/d5aec59932034b8a20f23f471297a55c45dcbc45/ido/5.3/LICENSE.md",
    "https://github.com/decompals/ido-static-recomp/tree/d5aec59932034b8a20f23f471297a55c45dcbc45/ido/7.1",
    "https://github.com/decompals/ido-static-recomp/blob/d5aec59932034b8a20f23f471297a55c45dcbc45/tools/rabbitizer/LICENSE",
    "https://github.com/decompals/ido-static-recomp/releases/tag/v1.2",
    "https://github.com/n64decomp/perfect_dark/blob/169ed48bdcbfb3b568b028bd5bebb27680073514/.gitmodules",
    "https://github.com/decompals/ido-static-recomp/compare/421e546956ceae984927e609b083195e9e81659e...d5aec59932034b8a20f23f471297a55c45dcbc45"
  ],
  "category": "game-analysis",
  "description_en": "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.",
  "description_zh": "将 SGI IDO 5.3 与 7.1 C 工具链中的 IRIX MIPS 程序（如 cc、cfe、uopt、ugen 和 as1）静态重编译为原生 Linux、macOS 和 Windows 可执行文件，使匹配式反编译项目能在现代主机上以原始编译器代码进行构建。它重编译的是编译器而非游戏，本身既不反编译也不转换游戏代码。",
  "entry_url": "https://awesomerea.org/resources/ido-static-recomp/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/ido-static-recomp/",
  "evidence_url": "https://github.com/decompals/ido-static-recomp/blob/d5aec59932034b8a20f23f471297a55c45dcbc45/README.md",
  "group": "tools",
  "id": "ido-static-recomp",
  "json_url": "https://awesomerea.org/resources/ido-static-recomp/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/ido-static-recomp/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/ido-static-recomp/index.md",
  "name": "ido-static-recomp",
  "name_zh": "ido-static-recomp IRIX IDO 编译器静态重编译工具",
  "record_type": "resource",
  "relationship": "foundation",
  "requirements": [
    "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. 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."
  ],
  "requirements_zh": [
    "构建需要 make 以及支持 C11/C++17 的编译器（Debian/Ubuntu 上为 build-essential，macOS 上为 Homebrew 的 make）。make setup 会构建随附的 rabbitizer 反汇编库和重编译器；随后运行 make VERSION=5.3 或 VERSION=7.1，即可在 build/<版本>/out 下生成工具链，RELEASE=1 生成优化构建，TARGET=universal 生成 macOS 通用二进制。v1.2 版（2024-11-12）提供 Linux、Linux ARM、macOS 和 Windows 上的 IDO 5.3 与 7.1 归档；所审阅的 main 提交日期为 2025-07-05。",
    "重编译后的程序要求所有文件平铺在 cc 所在目录中，可通过 USR_LIB 和 USR_INCLUDE 环境变量覆盖 /usr/lib 与 /usr/include 的重定向。IDO 5.3 的程序列表包含 copt、ld 和 strip，7.1 的列表中没有这三项。",
    "Perfect Dark 将 github.com/Emill/ido-static-recomp 固定在 421e546（per-function 分支，2021-11-03），作为其 tools/recomp 子模块。GitHub 将该提交与本条目的固定提交比较，结果为已分叉：领先 87 个提交、落后 2 个；Emill 也是 decompals 仓库的贡献者之一。两个仓库都未被标记为派生仓库。Majora's Mask 等其他匹配式反编译项目则从 decompals 下载构建产物。",
    "仓库在 ido/5.3 与 ido/7.1 下附带原始 IRIX 编译器二进制文件。只有 ido/5.3 带有 SGI 自由软件声明；在所审阅的提交中，没有任何许可文件覆盖重编译器本身或 IDO 7.1 二进制文件，GitHub 也未检测到仓库许可证，随附的 rabbitizer 保留其 MIT 许可。"
  ],
  "targets": [
    "binary",
    "game"
  ],
  "url": "https://github.com/decompals/ido-static-recomp",
  "verification": "source-reviewed",
  "verified_at": "2026-10-18"
}
