Re: [racket] Cross compile to PowerPC

2013-04-18 Thread Matthew Flatt
At Thu, 18 Apr 2013 14:51:55 +0100, Tim Brown wrote: > The script (as it is) has STRIP_DEBUG="${CROSS_COMPILE}strip -S" on the > "make install" command line. I also run configure with: > > ./configure --disable-docs --host=$HOST \ >STRIP_DEBUG="${CROSS_COMPILE}strip -S" > > But that ${CROSS_C

Re: [racket] Cross compile to PowerPC

2013-04-18 Thread Matthew Flatt
At Thu, 18 Apr 2013 14:51:55 +0100, Tim Brown wrote: > The script (as it is) has STRIP_DEBUG="${CROSS_COMPILE}strip -S" on the > "make install" command line. I also run configure with: > > ./configure --disable-docs --host=$HOST \ >STRIP_DEBUG="${CROSS_COMPILE}strip -S" > > But that ${CROSS_C

Re: [racket] Cross compile to PowerPC

2013-04-18 Thread Sam Tobin-Hochstadt
On Thu, Apr 18, 2013 at 9:51 AM, Tim Brown wrote: >> >> 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. > > > Can I put in a vote for an "academic" layer and an "enterprise" lay

Re: [racket] Cross compile to PowerPC

2013-04-18 Thread Tim Brown
On 17/04/13 22:49, Matthew Flatt wrote: At Tue, 16 Apr 2013 13:06:51 +0100, Tim Brown wrote: 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'. Smashing! 2,774,370 bytes!

Re: [racket] Cross compile to PowerPC

2013-04-17 Thread Matthew Flatt
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-x1 1107 500616 Mar 8 11:52 mzc > -rwxrwxr-x1 1107 500624 Mar 8 1

[racket] Cross compile to PowerPC

2013-04-16 Thread Tim Brown
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