<< Previous | Next >>

Squeak on the 770

It seems that squeak runs nicely on the Nokia 770. I applied a small patch to make it link. Other then that, it runs and performs reasonably well!

I just started looking at squeak, I know there is some sort of benchmark, and some PDA functionality, I'll have a go at those later. Besides, the stylus provides only one mouse click, so that is hard to use currently.

So first things todo:

Maybe later for performance, getting it run on the framebuffer, without any of the normal 770 software stack. But that requires more work on touchscreen and sound and such.

But, getting ahead of myself. Here is the patch:

diff -ru ../Squeak-3.7-7/platforms/unix/vm/glibc.h ./platforms/unix/vm/glibc.h
--- ../Squeak-3.7-7/platforms/unix/vm/glibc.h   2005-03-19 22:38:22.000000000 +0200
+++ ./platforms/unix/vm/glibc.h 2006-08-28 12:16:43.000000000 +0300
@@ -16,8 +16,9 @@
     extern int isspace(int c);
     extern int isupper(int c);
     extern int isxdigit(int c);
-    /* squash realpath@GLIBC_2.3 */
+    /* squash realpath@GLIBC_2.3
 #   include <stdlib.h>
     asm (".symver realpath, realpath@GLIBC_2.0");
+    */
 # endif
 #endif

to build:

get Squeak-3.7-7.src.tar.gz from here (called VM Source) and untar it in scratchbox armel target. Apply the patch. Go to platforms/unix and run make install. Then copy /usr/local/lib and usr/local/bin to the 770.

Then get Squeak Basic image (called Basic Squeak Release), unzip and copy the .image and .changes files to 770 user home directory. From terminal run: squeak Squeak3.8-6665.image

That should get you started.

Last modified: 2007-11-19 20:16 GMT