[MacRuby-devel] [MacRuby] #579: i386 compilation doesn't work

MacRuby ruby-noreply at macosforge.org
Thu Feb 11 12:56:56 PST 2010


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

  * owner:  lsansonetti@… => martinlagardette@…
  * 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/>



More information about the MacRuby-devel mailing list