Fix compilers link
link command varies on systems, hmm
This commit is contained in:
parent
57b0ad2c32
commit
064bb2f90f
1
.gitignore
vendored
1
.gitignore
vendored
@ -42,6 +42,7 @@ pkg
|
||||
log
|
||||
tmp
|
||||
a.out
|
||||
*.core
|
||||
|
||||
#pi related files, like kernel an qemu
|
||||
pi
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user