cross compie native binutils failed "error: no termcap library found"

../configure --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf --prefix=../build/linux-gnueabihf-binutils_prefix --with-sysroot=${SYSROOT}/arm-linux-gnueabihf/libc --disable-nls --disable-werror --enable-lto --enable-plugins --enable-gold=default

termcap library is needed but it's not in sysroot of toolchain

download and cross build the arm version
copy libterm.a to sysroot/usr/lib
termcap.h to sysroot/usr/include

留言

這個網誌中的熱門文章

我們能利用machine learning去幫助compiler的optimization演算法變強嗎?

The Speed Game: Automated Trading Systems in C++

被討厭的勇氣 自我啟發之父阿德勒的教導