Browse Source
tcllib pure side via its own installer (explicit -pkg-path; driver now unsets TCLLIBPATH/TCL_LIBRARY/TK_LIBRARY for hermetic child shells after the default libdir followed inherited TCLLIBPATH to C:/TCLPKGS - additive pollution verified and removed). install-libraries now installs the whole tcl library tree (its own pkgIndex references msgcat/opt/... subdirs the piecemeal install missed). critcl pinned 3.3.1 (git) + tracked critcl_zig.config (zig cc -target x86_64-windows-gnu); driver replicates sak's direct critcl invocation over the 21 declared files -> tcllibc.dll at out/lib/tcllibc (provide 2.0). Evidence: md5 accel(critcl)=1; sha1 5MB critcl 12.3ms vs pure 3.06s (~248x) - the punkcheck hashing pain quantified and fixed. Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.commaster
4 changed files with 161 additions and 4 deletions
@ -0,0 +1,25 @@
|
||||
# suite_tcl90 critcl configuration: zig cc as the C toolchain (G-098). |
||||
# Overrides critcl's gcc-style defaults; 'zig' is resolved from PATH - the suite |
||||
# driver prepends the pinned bin/tools zig dir for the critcl invocation. |
||||
# Target is the native windows-gnu triple (matches the suite's tcl runtime ABI). |
||||
|
||||
platform win32-x86_64 |
||||
compile zig cc -target x86_64-windows-gnu -c -fPIC |
||||
version zig version |
||||
link zig cc -target x86_64-windows-gnu -shared |
||||
include -I |
||||
libinclude -L |
||||
object .o |
||||
output -o [list $outfile] |
||||
optimize -O2 |
||||
noassert -DNDEBUG |
||||
tclstubs -DUSE_TCL_STUBS |
||||
tkstubs -DUSE_TK_STUBS |
||||
debug_symbols -g |
||||
strip -Wl,-s |
||||
link_debug |
||||
link_release |
||||
embed_manifest |
||||
ldoutput |
||||
link_preload |
||||
sharedlibext .dll |
||||
Loading…
Reference in new issue