# ARMHF sudo apt-get install gcc-arm-linux-gnueabihf sudo apt-get install g++-arm-linux-gnueabihf # ARMEL sudo apt-get install gcc-arm-linux-gnueabi sudo apt-get install g++-arm-linux-gnueabiMake sure you did the following command and that "gcc" is in your path
sudo apt-get install build-essential
Download ncurses:
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
Extract ncurses:
tar -xzf ncurses-5.9.tar.gz
Go to the folder:
cd ncurses-5.9
And build ncurses:
#ARMEL ./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi CXX="arm-linux-gnueabi-g++" #ARMHF ./configure --host=arm-linux-gnueabihf --prefix=/usr/arm-linux-gnueabihf CXX="arm-linux-gnueabihf-g++" make sudo make install
Done!
Then you should see libncurses.a with this command:
ls /usr/arm-linux-gnueabi/lib ls /usr/arm-linux-gnueabihf/lib
1 comment:
Hi friend, thank you so much. Your post is short but great.
Best Regards
Post a Comment