Hi,
The Sharp Zaurus is a really cool StrongArm powered PDA that comes
with Embedix Linux. I picked one up from Amazon earlier this week and
am very impressed with it thus far.
Searching back through ruby-talk, I found a couple of postings asking
whether the Zaurus could be made to run Ruby. That shouldn’t be too
hard, I thought to myself.
Well, it’s Friday, it’s a warm lazy day here in California, and I had
an hour to kill before going home from work to the fiancée for pizza,
so I thought I’d have a stab at it.
Here are the results:
~# uname -a
Linux zaurus 2.4.6-rmk1-np2-embedix #1 Tue Jul 30 08:38:25 PDT 2002
armv4l unknown
~# ruby --version
ruby 1.6.7 (2002-03-19) [arm-linux]
~# ruby -e ‘(1…10).each {|i| puts i}’
1
2
3
4
5
6
7
8
9
10
~# ruby -rnet/http -e ‘h=Net::HTTP::new(“www.ruby-lang.org”); r,d=h.get("/en/index.html"); print d’ | head
Hey, hey, it seems to work!
Now I can carry not only Linux, but also Ruby around in my pocket and
try out those brainwave code snippets wherever I happen to be.
I still need to make a few tweaks here and there and then get irb
running, but after I’ve done that, I’ll put up the tar file for anyone
who’s interested in using this.
Ian
···
–
Ian Macdonald | Bus error – driver executed.
ian@caliban.org |
>
>
>