From: Dick Davies Date: 2005-12-12T17:25:16+09:00 Subject: Re: Ruby for small devices ? I just discovered Scratchbox (http://scratchbox.org) and its awesome for cross-compilation of biggish apps. [ quick overview: It's a cross-toolchain for arm and ppc. It's main 'wow' feature is that it uses qemu-arm to emulate an ARM host. You run '/scratchbox/login' and have root on an emulated ARM, then build software. All the ease of compilation (i.e. you can just run './configure', it ships with an svn client, etc.) except an order of magnitude faster (qemu is a bit slow, but i386 is much faster than arm in the first place, so it's a net win). For platforms that the emulator isn't good enough for, you can use 'sbrsh' to login to the PDA, mount the toolchain and source tree from your scratchbox using NFS and build stuff there. ] Ruby 1.8.3 built with no trouble ( ext/dl expected a /bin/sh, but a symlink fixed that) and irb, etc runs fine in the scratchbox. Now i just need to copy the files onto my slug where it can run natively. See the quick howto at: http://scratchbox.org/documentation/user/scratchbox-1.0/html/tutorial.html - that's all i needed, just substituted ruby for glib. > zimba-tm wrote: > > Hello ruby fellows, > > > > I would like to know if anyone has experience with embedding ruby in > > small devices and if such project exists ? > > > > In my current work, I'm using Elphel cameras, mobile phones, etc.. > > But ruby is pretty heavy, plus I don't know if it compiles on ARM or > > other CPUs. > > > > Any hint would be appreciated :) > > > > -- > > Cheers, > > zimba > > > > http://zimba.oree.ch > > > -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/