1.check and install libtools
yum install libtool
yum install libtool-ltdl
yum install libtool-ltdl-devel
2. run the run "../gcc-svn/config.sub" through the shell
/bin/bash ../gcc-svn/config.sub
see if the following is displayed:
[root @centos jemalloc] #/bin/ bash./config.sub
: not foundine 6:
: not foundine 8:
: not foundine 30:
: not foundine 31:
: command not foundine 39:
: command not foundine 42:
: not foundine 50:
: not foundine 57:
: not foundine 59:
: not foundine 72:
: not foundine 82:
: command not foundine 85:
'/config.bub: 88:
'/config.bub: 88: `case $1 in
3. config.sub
find / -name config.sub
:
/usr/share/libtool/config/config.sub
config.sub, , .
4.replace config.sub
mv ../gcc-svn/config.sub ../gcc-svn/config.sub.bak
cp /usr/share/libtool/config/config.sub ../gcc-svn/config.sub
mv ../gcc-svn/config.guess ../gcc-svn/config.guess.bak
cp /usr/share/libtool/config/config.guess ../gcc-svn/config.guess
- , , .