

https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads


https://www.cnblogs.com/Clark-Zhang/p/16303434.html


https://www.cnblogs.com/jdsy/p/15638421.html

https://blog.csdn.net/weixin_45827115/article/details/143185262




// cross-ng
https://zhuanlan.zhihu.com/p/624646659

官方文档
https://crosstool-ng.github.io/
https://github.com/crosstool-ng/crosstool-ng



// 预编译好的 cross-ng
https://packages.msys2.org/base/crosstool-ng


// ubuntu  使用cross-ng 制作交叉编译工具链
https://blog.csdn.net/qq_42112618/article/details/120848016


 
git clone https://github.com/crosstool-ng/crosstool-ng


https://crosstool-ng.github.io/docs/install/
sudo apt install git autoconf build-essential flex texinfo help2man  gawk libtool libtool-bin python3-dev bison  libncurses5-dev libncursesw5-dev -y

./bootstrap

./configure --prefix=/aenv/ng
make
make install
export PATH="${PATH}:/aenv/ng/bin"

