[MacRuby-devel] [MacRuby] #579: i386 compilation doesn't work
MacRuby
ruby-noreply at macosforge.org
Tue Feb 2 14:15:44 PST 2010
#579: i386 compilation doesn't work
--------------------------------+-------------------------------------------
Reporter: carlo@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Comment(by lsansonetti@…):
Looks like the AOT compiler is broken for 32-bit targets.
{{{
$ cd /tmp
$ echo 'p 42' > t.rb
$ macrubyc --arch i386 --arch x86_64 -C t.rb -o t.rbo
$ file t.rbo
t.rbo: Mach-O universal binary with 2 architectures
t.rbo (for architecture i386): Mach-O bundle i386
t.rbo (for architecture x86_64): Mach-O 64-bit bundle x86_64
$ macruby -r ./t.rbo -e ''
42
$ arch -i386 macruby -r ./t.rbo -e ''
no such file to load -- ./t.rbo (LoadError)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/579#comment:3>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list