From: "Henry T. So Jr." Date: 2002-06-16T00:24:54+09:00 Subject: Re: Ruby for Sharp Zarus pda On Sat, Jun 15, 2002 at 11:34:53PM +0900, Tobias Reif wrote: > Thomas A. Reilly wrote: > > >Would anyone know how to port Ruby and TK to the Sharp Zarus? > >The processor is fast and with memory cards will support over 128 megs. > > > It's Linux, so shouldn't be able to compile Ruby on it? > > > Tobi I tried to cross-compile Ruby using the available tools, but I ran into some difficulty because the build process compiles miniruby and uses that during the build process. Since I was cross-compiling, the miniruby that is created will not run on the build host. I was able to get around that (sort-of) by compiling Ruby for the build host and keeping that on the path. However since the architectures are not exactly the same, there were still some problems, especially compiling the extensions. There are other things which I haven't had time to try yet; like a phased approach where I compile the base ruby, get it onto the Zaurus, and then create the extension Makefiles on the Zaurus; or even perhaps getting GCC onto the Zaurus (which is availble) and then compiling Ruby directly on the hardware. Also, there is an .ipk of Ruby 1.6.5 available with the Familiar distribution (apparently converted from the Debian-ARM distribution) but I haven't tried it. Henry -- Henry T. So, Jr.