From: Alex Fenton Date: 2009-02-06T05:34:27+09:00 Subject: Building 1.9.1 as universal binary on OS X Hi I'd like to build the recently released Ruby 1.9.1 as a universal binary on OS X. I'm on an Intel 10.5, but want the ruby to be runnable on 10.4 or 10.5, Intel or PPC. Following this tech note and advice: http://developer.apple.com/technotes/tn2005/tn2137.html http://lists.apple.com/archives/Xcode-users/2007/Oct/msg00686.html I did: Abaddon:ruby-1.9.1-p0 alex$ export CFLAGS="-O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -mmacosx-version-min=10.4" Abaddon:ruby-1.9.1-p0 alex$ export LDFLAGS="-arch i386 -arch ppc" Abaddon:ruby-1.9.1-p0 alex$ ./configure --prefix=~/bleed However, the resultant ruby isn't marked as universal: Abaddon:ruby-1.9.1-p0 alex$ ~/bleed/bin/ruby -v ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.6.0] ^^^^^^^^^^^^^^^^ Unlike the standard 10.5 install of ruby 1.8.6: Abaddon:~ alex$ ruby -v ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] ^^^^^^^^^^^^^^^^^^^ Can anyone offer any advice here please? alex