diff --git a/.gitignore b/.gitignore index 644987e8..089e621c 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,7 @@ pkg log tmp a.out +*.core #pi related files, like kernel an qemu pi diff --git a/lib/rubyx/rubyxc.rb b/lib/rubyx/rubyxc.rb index ec65ddd0..dc136487 100644 --- a/lib/rubyx/rubyxc.rb +++ b/lib/rubyx/rubyxc.rb @@ -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