Hi, Andrew.
Cross-compiling for PPC should not be too difficult, since there are pre-built packages for the powerpc gcccross-compiler.
Try this:
I didn't compile adb, since I don't have the source code handy. You should be able to do that yourself using the source from here:
The general structure is:
/usr/share/klink/:
adb
klink
klink-up.sh
klink-down.sh
The two .sh files must be owned by root with rx perms for group+other (i.e., chmod 755).
adb and klink are owned by root with klink being setuid (chmod +s).
You can then symlink /usr/bin/klink to /usr/share/klink.
Does that sound all right?
Kevin