Talk:Apple TV Binaries
The files gzip and gunzip are already present on my ATV (v1.0 + safe update).
Also I suggest to run at the end "strip binary", it can reduce the size of the files. E.g. nano non-striped is 320kB and striped is 129kB.
And there is a way to cross-compile i386 binary on a ppc mac, I have to find the propper command syntax.
Thanks for your feedback, I stripped the binaries and added a link to apple.com docs about cross compiling. Seems to work this way:
./configure --prefix=/Users/... CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" make
I think you can leave -arch ppc out if it should only work on Apple TV.
But I have no PPC Mac to test it. If you have one, could you try if it works and give feedback or better change the wiki page by yourself? --Mcka 12:39, 5 December 2007 (CET)