2012-04-04 129 views
0

最新版本的MacRuby是否支持靜態編譯?MacRuby是否支持靜態編譯?

下面是一些嘗試使用它的終端輸出......它顯示在macrubyc命令的選項中。

Desktop > macrubyc play_all_podcasts.rb --static -o play_all_podcasts 
/usr/local/bin/macrubyc:100:in `initialize': This version of MacRuby does not support static compilation. (ArgumentError) 
    from /usr/local/bin/macrubyc:490:in `<main>' 
Desktop > macrubyc -v 
MacRuby 0.11 (ruby 1.9.2) [universal-darwin10.0, x86_64] 
Desktop > macrubyc --help 
Usage: macrubyc [options] file... 
    -c        Compile and assemble, but do not link 
    -o <file>      Place the output into <file> 
     --static      Create a standalone static executable 
     --framework <name>   Link standalone static executable with given framework 
     --sdk <path>     Use SDK when compiling standalone static executable 
     --dylib      Create a dynamic library 
     --compatibility_version <VERSION> 
            Compatibility Version for linking 
     --current_version <VERSION> Current Version for linking 
     --install_name <NAME>  Install Name for linking 
    -C        Compile, assemble and link a loadable object file 
    -a, --arch <ARCH>    Compile for specified CPU architecture 
    -V, --verbose     Print every command line executed 
    -v, --version     Display the version 
    -h, --help      Display this information 

回答

0

從我收集的,靜態編譯仍然是一個工作和進步,最有可能甚至不會被包含在1.0版本。

+0

謝謝,這是一個恥辱,但回答我的問題 – 2012-04-04 23:59:16