[Rubycocoa-devel 1247] Re: [PATCH] RubyCocoa Tiger/Leopard build once run anywhere

Back to archive index

kimura wataru kimur****@i*****
Sat Nov 17 11:33:00 JST 2007


Hi Benjamin,

RubyCocoa has some configure options to build with SDKs.
I built RubyCocoa.framework and rubycocoa.bundle from the latest trunk 
(r2131) on a Leopard intel Mac with the following operation.

  Leopard% /usr/bin/ruby install.rb clean
  Leopard% /usr/bin/ruby install.rb configure \
    --macosx-deployment-target=10.4 \
    --build-universal=yes \
    --sdkroot=/Developer/SDKs/MacOSX10.4u.sdk
  Leopard% /usr/bin/ruby install.rb setup

I copied the framework and bundle into a Tiger ppc Mac, and got good 
results from RubyCocoa test suites.


On Fri, 16 Nov 2007 20:33:41 -0200, Benjamin Jackson wrote:
> Hello all,
> 
> As I need to be able to do one build for RC which works on both Tiger and
> Leopard, I am including a patch which takes out all compile-time constant
> comparisons for the OS version > 10.4 and replaces them with a runtime
> constant is_mac_os_x_version_10_5, defined at startup in RubyCocoa.m.
> 




More information about the Rubycocoa-devel mailing list
Back to archive index