From: Fujimoto H. <hi...@fo...> - 2006-10-27 13:11:43
|
On 2006/10/27, at 16:54, Eloy Duran wrote: > I did a check on my tiger machine; > > In the standard /usr/lib/ruby/1.8/universal-darwin8.0/ there are > indeed only headers: > Eloy-Duran-PowerBoogie:~ eloy$ ls -ll /usr/lib/ruby/1.8/universal- > darwin8.0/ (snip) > The powerpc directory however is another story, > there are all the bundles that you'd expect: > Eloy-Duran-PowerBoogie:~ eloy$ ls -ll /usr/lib/ruby/1.8/powerpc- > darwin8.0/ > total 1904 (snip) > So it seems that the standard apple install doesn't supply a complete > universal directory, on a powerpc mac that is. > I don't have a intel mac so I can't check it there... i did check both ppc and intel mac. # on PowerBook G4 $ cd /usr/lib/ruby/1.8/powerpc-darwin8.0 $ file nkf.bundle nkf.bundle: Mach-O bundle ppc # on MacBook $ file nkf.bundle nkf.bundle: Mach-O universal binary with 2 architectures nkf.bundle (for architecture i386): Mach-O bundle i386 nkf.bundle (for architecture ppc): Mach-O bundle ppc anyway, at least, using RubyCocoa 0.4.3d2 binary package (dmg) and / usr/lib/libruby (1.8.2 with osx 10.4), it's able to build an universal rubycocoa application on both intel mac and ppc mac. build universal rubycocoa app on ppc, check arch config (ppc and i386), and target SDK (10.4 universal). -- hisa |