Something I’ve wanted to make work for a long, long time…
The Actors
$ uname -a Darwin bose 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc $ ssh artni uname -a Linux artni 2.6.16-1.2096_FC5smp #1 SMP Wed Apr 19 05:31:55 EDT 2006 i686 i686 i386 GNU/Linux $ _
The Production
$ make
i686-unknown-linux-gnu-gcc -static hello-kitty.c
-o hello-kitty
$ file hello-kitty
hello-kitty: ELF 32-bit LSB executable, Intel 80386,
version 1 (SYSV), for GNU/Linux 2.4.3,
statically linked, not stripped
$ _
Staging
$ scp hello-kitty artni:/tmp hello-kitty 100% 458KB 30.5KB/s $ _
Action!
$ ssh artni /tmp/hello-kitty Hello, kitty! $ _
Sweet! Woot! Special thanks to Dan Kegel for crosstool!
Now if only those Linux kids wouldn't make their filenames case-dependent.
(Foo.h and foo.h in the same directory, I mean, really!)



