2017-09-14 22 views
0

我下载的Rebol /视图(vesion 2.7.8)Linux x86上libc6的2.3版本从http://www.rebol.com/downloads.html,它是工作的所有权利,在Linux上的解释(Debian的稳定9)。是否有可能将代码编译为可执行文件?我试图在检查选项,并编译成可执行文件的选项似乎并不在那里:编译雷博尔代码为可执行

$ rebol -v --help 
The command line usage is: 

    REBOL <options> <script> <arguments> 

All fields are optional. Supported options are: 

    --cgi (-c)  Check for CGI input 
    --do expr  Evaluate expression 
    --link url  Connect to Link 
    --help (-?)  Display this usage information 
    --nowindow (-w) Do not open a window 
    --noinstall (-i) Do not install (Link, View) 
    --quiet (-q)  Don't print banners 
    --reinstall (+i) Force an install (Link, View) 
    --script file Explicitly specify script 
    --secure level Set security: allow ask throw quit 
    --trace (-t)  Enable trace mode 
    --uninstall (-u) Uninstall REBOL (Link, View) 
    --version tuple Minimum version of script, when URL (View) 
    --noviewtop (-v) Do not start viewtop (view desktop) 

Special command line options: 

    +q    Force not quiet (Link, View) 
    -s    No security 
    +s    Full security 
    -- args   Provide args without a script 

Examples: 

    REBOL script.r 
    REBOL -s script.r 
    REBOL script.r 10:30 [email protected] 
    REBOL --do "verbose: true" script.r 
    REBOL -cswq 
    REBOL --cgi --secure throw --script cgi.r "debug: true" 
    REBOL --version 1.2.3 http://www.rebol.net/test.r ; view only 

我可以编译雷博尔代码,可执行代码的Linux/Windows的?谢谢你的帮助。

回答

2

雷博尔/视图可以被挤满了使用一种叫做ENCAP的产物,它可以从Rebol的技术解释。我不知道他们是否仍然出售这种产品,或者即使该公司仍然存在。

红,一个雷博尔2的克隆与增强的图形用户界面,可以编译为据我所知二进制文件。

仁C,A Rebol3衍生物,可以从C源进行编译以便可以在任何想要的代码编译。然而,目前没有GUI支持,尽管一个分支计划添加这个功能。

+0

显然,红色创建二进制可执行文件目前仅适用于Windows,不适用于Linux。此外,红色似乎仍然在阿尔法,所以人们担心,如果它可能导致数据崩溃和损坏。 – rnso

+0

什么是分发我的程序以在Windows平台上运行的最佳方式? – rnso

+0

如果使用Rebol2/View,请加上。这是提供源代码保护的那个。我对红龙不甚了解。也许DocKimbel会出现回答。 –

2

理论上应该有雷博尔提供与你的脚本捆绑解释到一个文件中,没有本地编译器commercial SDK

红使用雷博尔编译红色和红色为所有支持的平台(Windows,Linux,苹果,安卓等)/系统,甚至是交叉编译。编译器包含在稳定版本和自动构建中。如何编译看到READMEandalso RedEd