From: Adam Gardner Date: 2009-02-06T08:40:20+09:00 Subject: Re: Building 1.9.1 as universal binary on OS X Alex Fenton wrote: > 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 More importantly, what's the output of these commands? $ file ~/bleed/bin/ruby $ file ~/bleed/lib/libruby.1.9.1.dylib -- Posted via http://www.ruby-forum.com/.