Fix compilers link

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

1
.gitignore vendored
View File

@ -42,6 +42,7 @@ pkg
log
tmp
a.out
*.core
#pi related files, like kernel an qemu
pi

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