From: Jon B. <jo...@gm...> - 2007-07-14 13:07:55
|
Last time I checked it was Intel only, still seems to be the case ... [MacBook-Pro:~/Desktop]$ wget -q http://svn.joyent.com/opensource/ slingshot/osx/VM/bin/ruby [MacBook-Pro:~/Desktop]$ file ruby ruby: Mach-O executable i386 - Jon On Jul 14, 2007, at 12:17 AM, jea...@gm... wrote: > > the source for slingshot is now available: > http://svn.joyent.com/opensource/slingshot/ > > i wonder if this might help out at all? > > cheers, > jean-pierre > > > On 7/13/07, Eloy Duran <elo...@gm...> wrote: > I have finally been able to build the whole ruby package as > universal binaries. > I checked if gems (or any extconf based lib) directly build as > universals as well, which is indeed the case: > > eloys-computer:/opt_bak/local/var/local-portfiles/ruby root# gem > install libxml-ruby > Building native extensions. This could take a while... > Successfully installed libxml-ruby-0.3.8.4 > > eloys-computer:/opt_bak/local/var/local-portfiles/ruby root# file > /opt/local/lib/ruby/gems/1.8/gems/libxml- ruby-0.3.8.4/ext/xml/ > libxml_so.bundle > /opt/local/lib/ruby/gems/1.8/gems/libxml-ruby-0.3.8.4/ext/xml/ > libxml_so.bundle: > Mach-O universal binary with 2 architectures > /opt/local/lib/ruby/gems/1.8/gems/libxml-ruby-0.3.8.4 /ext/xml/ > libxml_so.bundle > (for architecture i386): Mach-O bundle i386 > /opt/local/lib/ruby/gems/1.8/gems/libxml-ruby-0.3.8.4/ext/xml/ > libxml_so.bundle > (for architecture ppc): Mach-O bundle ppc > > Eloy > > On 7/13/07, Eloy Duran < elo...@gm...> wrote: > > It really depends on the gem.... > > Like I said earlier Hpricot for instance builds as a universal > binary > > without any problems. > > > > Getting ruby to play nice with universal is the first hurdle. > > I have it finally compiling as a universal, the only last problem is > > with the openssl lib. > > Once that's done I'll have a look at if mkmf needs additional > patching > > for C extensions to build as universal binaries. > > > > Eloy > > > > On 7/13/07, Tim Perrett <he...@ti...> wrote: > > > I had a thought about this... > > > > > > I have been looking at the locomotive project, and the slingshot > > > VM........ both of which has there own internal ruby environment. > > > With locomotive you have to select either PPC or Intel bundles; > > > slingshot on the other hand is only available for intel. > > > > > > Rather than trying to re-invent the wheel would it be fair to say > > > that those who have gone before us couldn't make universal gem > > > compilation work so thats why they have had to use platform > specific > > > implementations? > > > > > > Cheers > > > > > > Tim > > > > > > > ---------------------------------------------------------------------- > --- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Rubycocoa-talk mailing list > > > Rub...@li... > > > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > > > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |