好的,所以我想在CentOS6.5上运行QtCreator,显然它需要一个合理的最新版本的gcc(4.8.2)所以我在这里尝试做QT5创建者建议的。当我尝试构建gcc时,它停止在这个错误,我不知道什么是错的,这里是gcc编译器转出的地方:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
make[3]: Entering directory `/root/objdir/build-x86_64-unknown-linux-gnu/libiberty'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/root/objdir/../gcc-4.8.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic /root/objdir/../gcc-4.8.2/libiberty/regex.c -o pic/regex.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/root/objdir/../gcc-4.8.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic /root/objdir/../gcc-4.8.2/libiberty/regex.c -o regex.o
/tmp/ccnwYcKf.s: Assembler messages:
/tmp/ccnwYcKf.s:119: Error: expecting string instruction after `rep'
make[3]: *** [regex.o] Error 1
make[3]: Leaving directory `/root/objdir/build-x86_64-unknown-linux-gnu/libiberty'
make[2]: *** [all-build-libiberty] Error 2
make[2]: Leaving directory `/root/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/root/objdir'
make: *** [all] Error 2
请帮助谢谢:)
编辑:好的,我想出了如何让事情滚动:
错误是因为随着centos而来的过时的libutils。