Following packages are required to build ncftp.
# ipkg updateLet's see how Zaurus compiles ncftp by itself.
# ipkg install task-sdk-bare
# ipkg install gcc
# ipkg install gcc-symlinks
# ipkg install binutils-dev
# ipkg install make
# wget ftp://ftp.ncftp.com/ncftp/ncftp-3.2.1-src.tar.bz2It seems archiver's version difference. I found ar in my Zaurus is just a symbolic link to busybox, so I changed it to Angstrom toolchain.
# tar jxvf ncftp-3.2.1-src.tar.bz2
# cd ncftp-3.2.1/
# time ./configure
real 2m 51.54s
user 1m 51.79s
sys 0m 56.83s
# time make
ERROR: busybox ar [-o] ....
# ls -l /usr/bin/arTry again.
ar -> busybox
# cd /usr/bin
# rm ar
# ln -s arm-angstrom-gnueabi-ar ar
# make cleanIt was not exactly an error but it's easy to fix.
# time make
make[1]: strip: Command not found
# cd /usr/binLast try.
# rm ar
# ln -s arm-angstrom-gnueabi-strip strip
# make cleanWith my cross compile environment on my Ubuntu PC, same thing could be done way faster.
# time make
real 9m 1.36s
user 8m 18.01s
sys 0m 38.55s
$ time ./configure --host=arm-none-linux-gnueabi --prefix=/opt/arm-ccBut. Question is how easily we can make a patch. If there's already some patches available, cross compiling is good and fast. If not, self compiling environment would be a nice backup.
real 0m24.485s
user 0m7.580s
sys 0m3.092s
$ patch -p0 < ncftp-3.2.1-arm-linux.patch
$ time make
real 0m33.728s
user 0m22.741s
sys 0m2.908s