如何从红色lang创建Windows可执行文件(.exe)? [英] How to create Windows executable (.exe) from red lang?
问题描述
我正在构建一个红色lang应用程序.如何从红色lang创建Windows可执行文件(.exe)?
I'm building a red lang application. How to create Windows executable (.exe) from red lang???
推荐答案
如果您已经有了红色的可执行文件,则可以从命令行调用
If you have already the red executable, you call from the command line
red -c -t Windows yourprogram.red
,您将获得 yourprogram.exe 作为Windows程序
and you will get yourprogram.exe as a Windows program
我当然认为,您还从 red-lang/download 或 github/red/red
Of course I assume, you have also downloaded all the possibly additionally needed source files from either red-lang/download or github/red/red
如果您有最新的rebol解释器,则可以使用
If you have a recent rebol interpreter, you can compile with
do/args %red.r "-t Windows yourprogram.red"
或将可用的GUI外壳用于红色编译器,例如红色编译器
or use an available GUI shell for the red compiler e.g redcompiler
这篇关于如何从红色lang创建Windows可执行文件(.exe)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!