fix platform derivation and some tests

This commit is contained in:
Torsten Ruger
2018-07-01 21:27:27 +03:00
parent bb49f1be78
commit 5f2a256608
6 changed files with 17 additions and 10 deletions

View File

@ -27,9 +27,9 @@ module RubyX
def ruby_to_binary(platform = :arm)
Parfait.boot!
Risc.boot!
assemblers = ruby_to_mom(platform)
assemblers = ruby_to_mom
puts "Assemblers #{assemblers}"
linker = Linker.new
linker = Risc::Linker.new(platform)
linker.position_all
linker.create_binary
end