tar xzf ncurses-6.1.tar.gz cd ncurses-6.1 ./configure CC=arm-linux-xxx-gcc --host=arm-linux-gnueabihf --with-shared make