You are looking at historical revision 2400 of this page. It may differ significantly from its current revision.
Nokia 770
The following will describe how to get a Chicken interpreter up and running on a Nokia 770.
- The first step after buying a 770 is to gain root and add SSH capabilities. This will allow you to remotely login to the device and run Chicken.
- To build Chicken install scratchbox according to the following [[http://maemo.org/platform/docs/tutorials/Maemo_tutorial.html#settingup|instructions]. You should then have a cross compilation environment suitable for building both Chicken & Eggs.
- Build Chicken with the normal autotools sequence and build any eggs.
- Copy the interpreter to /usr/bin and the shared library to /usr/lib.
scp /usr/local/bin/csi root@<nokia-ip>:/usr/bin/ scp /usr/local/lib/libchicken.so.0.0.0 root@<nokia-ip>:/usr/lib
- Add symbolic links for the library.
ln -s libchicken.so.0.0.0 libchicken.so.0 ln -s libchicken.so.0.0.0 libchicken.so
- Copy any eggs over and set the environment variable CHICKEN_REPOSITORY if necessary.
export CHICKEN_REPOSITORY=/usr/lib/chicken/1 scp /usr/local/lib/chicken/1/packedobjects.so root@<nokia-ip>:/usr/lib/chicken/1
- Fire up Chicken and test an egg.
Nokia770-39:~# csi
___| | _) |
| __ \ | __| | / _ \ __ \
| | | | | ( < __/ | |
\____|_| |_|_|\___|_|\_\\___|_| _|
Version 2.5 - linux-unix-gnu-arm - [ dload ptables applyhook ]
(c)2000-2006 Felix L. Winkelmann
#;1> (use packedobjects)
; loading /usr/lib/chicken/1/packedobjects.so ...
#;2> (define p '(b bit-string (size 8)))
#;3> (define po (packedobjects p))
#;4> (po 'pack '(b "10101010"))
1
#;5> (po 'unpack)
(b "10101010")
#;6>