1、ncurse库的移植
(1)下载:ncurses-5.6.tar.gz
(2)解压和cd ncurses-5.6
(3)配置生成 makefile
./configure --host=arm-linux --prefix=$PWD/output/arm --without-ada --enable-termcap --with-shared
host是交叉编译工具链,可能不同平台会有所不同
--enable-termcap比较关键gdb需要这个库
(4)编译 make
(5)安装 make install
(5)安装 make install
libncurses.so放在ncurses-5.6/output/arm/lib路径下。
2、gdb库的编译和移植
(1)下载: