rns*_*nso 7 scheme compilation racket
在Linux中使用Racket编程语言时,是否可以针对Windows或Mac OSX 进行编译(交叉编译)?DrRacket IDE不提供任何此类菜单项。Raco帮助命令也未显示任何此类选项:
$ raco help make
raco make [ <option> ... ] <file> [<another-file>] ...
where <option> is one of
-j <n> : Compile with up to <n> tasks in parallel
--disable-inline : Disable procedure inlining during compilation
--disable-constant : Disable enforcement of module constants
--no-deps : Compile immediate files without updating dependencies
-p <file>, --prefix <file> : Add elaboration-time prefix file for --no-deps
--no-prim : Do not assume `scheme' bindings at top level for --no-deps
-v : Verbose mode
--vv : Very verbose mode
--help, -h : Show this help
-- : Do not treat any remaining argument as a switch (at this level)
Multiple single-letter switches can be combined after one `-'; for
example: `-h-' is the same as `-h --'
Run Code Online (Sandbox Code Playgroud)
我怀疑在球拍中是不可能的。是否可以使用其他任何Scheme或Lisp语言?感谢您的意见。
尽管racoDrRacket GUI 给人的印象是您可以制作本机可执行文件,但它只是作为与编译的字节码捆绑在一起的 VM 运行的racket 可执行文件。因此,您实际上从未运行过在racket中编写的本机代码。