fix all tests for previous commit
This commit is contained in:
@ -19,8 +19,8 @@ module RubyX
|
||||
attr_reader :vool
|
||||
|
||||
# initialize boots Parfait and Risc (ie load Builin)
|
||||
def initialize
|
||||
Parfait.boot!
|
||||
def initialize(options)
|
||||
Parfait.boot!(options)
|
||||
Risc.boot!
|
||||
end
|
||||
|
||||
@ -96,8 +96,8 @@ module RubyX
|
||||
end
|
||||
|
||||
|
||||
def self.ruby_to_binary( ruby , platform)
|
||||
compiler = RubyXCompiler.new
|
||||
def self.ruby_to_binary( ruby , platform , options)
|
||||
compiler = RubyXCompiler.new(options)
|
||||
compiler.ruby_to_vool(ruby)
|
||||
|
||||
# integrate other sources into vool tree
|
||||
|
@ -22,7 +22,7 @@ class RubyXC < Thor
|
||||
end
|
||||
puts "compiling #{file}"
|
||||
|
||||
linker = ::RubyX::RubyXCompiler.new.ruby_to_binary( ruby , :arm )
|
||||
linker = ::RubyX::RubyXCompiler.new({}).ruby_to_binary( ruby , :arm )
|
||||
writer = Elf::ObjectWriter.new(linker)
|
||||
|
||||
outfile = file.split("/").last.gsub(".rb" , ".o")
|
||||
|
Reference in New Issue
Block a user