parent
57b0ad2c32
commit
064bb2f90f
|
@ -42,6 +42,7 @@ pkg
|
||||||
log
|
log
|
||||||
tmp
|
tmp
|
||||||
a.out
|
a.out
|
||||||
|
*.core
|
||||||
|
|
||||||
#pi related files, like kernel an qemu
|
#pi related files, like kernel an qemu
|
||||||
pi
|
pi
|
||||||
|
|
|
@ -91,8 +91,8 @@ class RubyXC < Thor
|
||||||
|
|
||||||
def execute(file)
|
def execute(file)
|
||||||
outfile = compile(file)
|
outfile = compile(file)
|
||||||
system "arm-linux-gnueabi-ld -N #{outfile}"
|
system "arm-linux-gnu-ld -N #{outfile}"
|
||||||
puts "Linked ok, now running #{file}"
|
puts "Linked ok, now running #{outfile}"
|
||||||
system "qemu-arm ./a.out ; echo $?"
|
system "qemu-arm ./a.out ; echo $?"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue