获取最新的config.sub和config.guess
如需转载请标明出处:http://blog.csdn.net/itas109
QQ技术交流群:129518033
文章目录
config.guess 太旧,可能导致configure无法获取系统类型
类似错误:
config.guess: unable to guess system type
configure: error: cannot guess build type; you must specify one
下面的脚本可以获取最新的config.sub和config.guess
updateConfigGuss.sh
#!/bin/bash
wget -O ./config.sub "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"
wget -O ./config.guess "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"
chmod +x config.guess config.sub
License
License under CC BY-NC-ND 4.0: 署名-非商业使用-禁止演绎
Reference:
NULL