ncftp is an FTP client. One of our projects needed FTP functionality, so I cross-compiled it for an ARM target.
Build Steps
Step 1: Generate the Makefile. If you need curses support, add the relevant library — but for our project it’s not needed:
./configure --disable-ccdv --without-curses --without-ncurse
Step 2: Edit the Makefile — update CC and STRIP as follows:
CROSS_COMPILE=arm-unknown-linux-gnu-
CC=${CROSS_COMPILE}gcc
STRIP=${CROSS_COMPILE}strip
Step 3: Make it!
make
Comments & Feedback