Skip to content

Instantly share code, notes, and snippets.

View petetnt's full-sized avatar
😺
garfield you are one funny cat

Pete Nykänen petetnt

😺
garfield you are one funny cat
View GitHub Profile
@petetnt
petetnt / patch.diff
Created January 13, 2026 22:03
tcc build
diff --git a/ninja_config.py b/ninja_config.py
index 7317fa1b..71e36d15 100644
--- a/ninja_config.py
+++ b/ninja_config.py
@@ -189,7 +189,7 @@ elif sys.platform == "win32":
LD = f"{CROSS}-ld.exe"
OBJCOPY = f"{CROSS}-objcopy.exe"
OBJDUMP = f"{CROSS}-objdump.exe"
- CPP = f"{TOOLS_DIR}/win-build/mcpp/mcpp.exe"
+ CPP = f"{TOOLS_DIR}/win-build/tcc/tcc.exe"