[racket] Cross compile to PowerPC
At Tue, 16 Apr 2013 13:06:51 +0100, Tim Brown wrote:
> I've just uploaded an (AFICT) working script to build racket on for
> PowerPC. [...]
>
> > # 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!
Does `strip -S' reduce the size of `racket'? I don't have a PPC machine
handy, but I get a 7686107-byte executable for ARM, which turns into
2845517 bytes after `strip -S'.
To make the overall size smaller, then it's probably a matter of paring
down collections to just what you need. If you don't need GUI or
graphics, then starting with the "textual" distribution might be a good
starting point:
racket-textual-5.3.3-src-unix.tgz
We're currently working on a new package system that will let us better
organize the core and make more useful layers --- but that's very much
a work in progress.
> Also, this is an e500v2 CPU. I heard mutterings about the JIT not working
> perfectly with "Book E" processors. What is that all about?
No idea. Do these two test sets run ok?:
collects/tests/racket/optimize.rktl
collects/tests/racket/unsafe.rktl