Skip to content

Instantly share code, notes, and snippets.

@malu
Created January 5, 2010 21:01
Show Gist options
  • Save malu/269723 to your computer and use it in GitHub Desktop.
Save malu/269723 to your computer and use it in GitHub Desktop.
Using the following configuration to build
------------------------------------------
module Rubinius
BUILD_CONFIG = {
:llvm => :svn,
:llvm_configure => "",
:compiler => "gcc",
:defines => ["HAS_EXECINFO"],
:host => "i686-pc-linux-gnu",
:cpu => "i686",
:vendor => "pc",
:os => "linux-gnu",
:bindir => "/home/max/code/ruby/rubinius/bin",
:libdir => "/home/max/code/ruby/rubinius",
:runtime => "/home/max/code/ruby/rubinius/runtime",
:lib_path => "/home/max/code/ruby/rubinius/lib",
:ext_path => "/home/max/code/ruby/rubinius/lib/ext",
:includedir => "/home/max/code/ruby/rubinius/vm/capi",
:mandir => "/home/max/code/ruby/rubinius/man",
:gemsdir => "/home/max/code/ruby/rubinius/gems",
:program_name => "rbx",
:version => "1.0.0-rc2",
:libversion => "1.0",
:release_date => "2010-01-04",
:config_version => 1
}
end
Setting the following defines for the VM
----------------------------------------
#define RBX_HOST "i686-pc-linux-gnu"
#define RBX_CPU "i686"
#define RBX_VENDOR "pc"
#define RBX_OS "linux-gnu"
#define RBX_BIN_PATH "/home/max/code/ruby/rubinius/bin"
#define RBX_GEMS_PATH "/home/max/code/ruby/rubinius/gems"
#define RBX_RUNTIME "/home/max/code/ruby/rubinius/runtime"
#define RBX_LIB_PATH "/home/max/code/ruby/rubinius/lib"
#define RBX_EXT_PATH "/home/max/code/ruby/rubinius/lib/ext"
#define RBX_HDR_PATH "/home/max/code/ruby/rubinius/vm/capi"
#define RBX_VERSION "1.0.0-rc2"
#define RBX_LIB_VERSION "1.0"
#define RBX_BUILD_REV "b2096daf557d6b0d269b75d4e2393e16976821dc"
#define RBX_LDSHARED "cc -shared"
#define RBX_RELEASE_DATE "2010-01-04"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment