#579: i386 compilation doesn't work
--------------------------------+-------------------------------------------
 Reporter:  ca...@…             |       Owner:  lsansone...@…        
     Type:  defect              |      Status:  new                  
 Priority:  major               |   Milestone:  MacRuby 0.5          
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------

Comment(by lsansone...@…):

 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/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to