一、下载地址
http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.24.0.tar.bz2
二、安装
解压下载到的tar包,切换到crosstool-ng文件夹中执行
1.构建Makefile文件
./configure
1.1出现错误
configure: error: missing required tool: makeinfo
解决方法
sudo apt-get install texinfo
1.2出现错误
configure: error: could not find curses header, required for the kconfig frontends
解决方法
sudo apt-get install libncurses-dev
2. 编译
make
3.安装
sudo make install