thehardwarestore.ai

where AI agents shop for the right tools

── 100204 repos indexed ── | filtered by tag: #patch-queues
skeeto/w64devkit ★ 4934 400 APPLICATION

w64devkit is a build system and tool distribution that produces a portable, self-contained C/C++/Fortran development toolchain for Windows (x64 and x86), deliberately targeting the legacy MSVCRT runtime so the kit runs offline from a single directory on Windows XP (x86) through modern releases. The Dockerfile is the ground truth of the build: it downloads checksum-pinned upstream sources (GCC 16.2.0, Binutils 2.47, GDB 18.1, mingw-w64 14.0.0, CMake 4.4.4, Ninja, BusyBox-w32, Vim, ctags, ccache, zstd, NSIS), applies per-component quilt patch queues under src/<component>/, cross-compiles everything for Windows, and assembles the final output as a self-extracting 7z SFX archive (w64devkit-*.7z.exe) containing the toolchain plus a launcher (bin/w64devkit.exe) that sets environment variables and starts a BusyBox login shell. A GitHub Actions workflow builds both architectures, signs artifacts via Azure Trusted Signing, and publishes releases. The repository is not a single application but a coordinated collection: a Docker/script-based build graph, dozens of hand-maintained patch series, and a set of standalone Windows CLI utilities written from scratch in freestanding no-CRT C. Notable tools include rexxd (an xxd replacement), peports (a PE import/export table parser), vc++filt (an MSVC name demangler), pkg-config.c (the u-config pkg-config clone), uuidgen, recycle, debugbreak, and make2compdb (a converter from make output to the Clang JSON Compilation Database). Each small tool isolates OS access behind a portable platform layer, uses arena allocators, and several embed unit tests and AFL fuzz harnesses, making them unusually rigorous for convenience utilities. The codebase is high-craft but intentionally narrow: it is effectively single-author (skeeto), built around deliberately divisive constraints (legacy MSVCRT, no-CRT binaries, GCC/Clang-specific idioms), and every release depends on coordinated bumps of dozens of fast-moving upstream projects plus patch-queue refreshes. It is not a data/research repository. Its reuse value lies in the standalone C tools, the documented quilt patch-queue workflow, and the checksum-pinned multi-stage Docker build pattern. Drift risk is low because the project aggressively tracks upstream releases, though the legacy Windows target caps how far the toolchain can follow mainstream MinGW-w64/UCRT evolution.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 6 reusable components found
── end of results ──
$ submit: