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

  * owner:  lsansone...@… => martinlagarde...@…
  * milestone:  MacRuby 0.5 => MacRuby 0.6


Comment:

 I believe this is because macruby_deploy spawns macrubyc processes that
 only build for the current architecture.

 {{{
       if !File.exist?(obj) or File.mtime(source) > File.mtime(obj)
         die "Can't compile \"#{source}\"" unless system("macrubyc -C
 \"#{source}\" -o \"#{obj}\"")
         FileUtils.rm_f(source)
       end
 }}}

 macruby_deploy should be smarter and retrieve the architecture from the
 Xcode environment variables and appropriately pass the right flags to
 macrubyc. Thibault, do you want to look at this?

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/579#comment:8>
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