Fix compilers link

link command varies on systems, hmm
This commit is contained in:
2019-08-19 19:13:51 +03:00
parent 57b0ad2c32
commit 064bb2f90f
2 changed files with 3 additions and 2 deletions

View File

@ -91,8 +91,8 @@ class RubyXC < Thor
def execute(file)
outfile = compile(file)
system "arm-linux-gnueabi-ld -N #{outfile}"
puts "Linked ok, now running #{file}"
system "arm-linux-gnu-ld -N #{outfile}"
puts "Linked ok, now running #{outfile}"
system "qemu-arm ./a.out ; echo $?"
end