[racket] Cross compile to PowerPC

From: Tim Brown (tim.brown at cityc.co.uk)
Date: Tue Apr 16 08:06:51 EDT 2013

Folks,

I've just uploaded an (AFICT) working script to build racket on for
PowerPC.

https://github.com/tim-brown/racket-powerpc-cross

I have racket running on a small embedded P1021 device. From a 300MB NFS
installation! It runs small scripts, and has proven a neat little (ahem!)
tool.

I have 32MB flash on this device; it would be groovy if I could get racket
into 12MB - any hints? (I could keep it zipped up, or something). Just to
give you an idea of what I'm asking:
# ls -l /mnt/nfs2/racket-5.3.3/bin
-rwxrwxr-x    1 1107     500            616 Mar  8 11:52 mzc
-rwxrwxr-x    1 1107     500            624 Mar  8 11:52 mzpp
-rwxrwxr-x    1 1107     500            618 Mar  8 11:52 plt-web-server
-rwxrwxr-x    1 1107     500        7101976 Mar  8 11:41 racket
-rwxrwxr-x    1 1107     500            593 Mar  8 11:52 raco
-rwxrwxr-x    1 1107     500            613 Mar  8 11:52 setup-plt
There goes 7MB, right there!


Also, this is an e500v2 CPU. I heard mutterings about the JIT not working
perfectly with "Book E" processors. What is that all about?

Tim

-- 
Tim Brown <tim.brown at cityc.co.uk>  | City Computing Limited            |
T: +44 20 8770 2110                | City House, Sutton Park Road      |
F: +44 20 8770 2130                | Sutton, Surrey, SM1 2AE, GB       |
-----------------------------------------------------------------------|
BEAUTY:  What's in your eye when you have a bee in your hand           |
-----------------------------------------------------------------------'
City Computing Limited registered in London No. 1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT number 372 8290 34.

Posted on the users mailing list.