依赖:mingw工具链gcc, 预制文件 [1]。
测试文件test.ss内容为:
(import (chezscheme))
(printf "args is ~a~%"(command-line-arguments))
编译:
$ ./compile-chez-program.exe test.ss
执行:
$ ./test 123 456
args is (123 456)
[1] https://github.com/DeYangLiu/chez-exe/releases/tag/compile-chez-program-bin-for-windows-v1.0