tar xvzf ncurses.tar.gz
tar xvzf htop-1.0.2.tar.gz
mkdir install_ncurses
mkdir install_htop
cd ncurses-5.9
./configure --prefix=/path/htop/install_ncurses --host=arm-linux-gnueabi --without-cxx --without-cxx-binding --without-ada --without-manpages --without-progs --without-tests --with-shared CC=arm-linux-xxx-gcc
make && make install
cd htop-1.0.2
./configure --prefix=/path/htop/install_htop --disable-unicode --host=arm-linux-gnueabi LDFLAGS=-L/home/25483/others/htop/install_ncurses/lib CPPFLAGS="-I/path/htop/install_ncurses/include/ -I/path/htop/install_ncurses/include/ncurses" CC=arm-linux-xxx-gcc
make && make install