Run autoconf on a desktop linux system, tar up the directory and cpoy to the Z.
Run the configure and make on the Z. You don't even need to have cross-compiler installed on the desktop, but it will help especially when you start compiling lareger apps - the Z just doesn't have the space to store all the needed includes etc needed to do some of the more complex apps.
Stu