Commits on Sep 14, 2026
-
Add build.exe: one-click Windows builder, vendor jni.h
…
build.exe downloads a portable mingw toolchain (w64devkit, pinned) into a subfolder on first run — nothing installed system-wide, no admin — then compiles the DLL and loader directly with g++, mirroring the Makefile's flags and source list, and prints the DLL imports to confirm the static link held. Source is build_bootstrap.c. jni.h is now vendored under third_party/jni, so no JDK is needed by either build.exe or make. JAVA_INC is optional and only overrides the vendored header; the Makefile picks up third_party/jni and adds -I<JAVA_INC> only when set. BUILD.md leads with build.exe; the make paths (Linux, MSYS2, WinLibs) stay for anyone who prefers it. Verified the exact recipe build.exe runs still links to a DLL importing only KERNEL32/USER32/GDI32/OPENGL32/msvcrt. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Kretrod committed 2 hours ago
NewerOlder