本文主要是介绍吐血安装gcc4.8,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
失败的尝试
https://blog.csdn.net/cffishappy/article/details/80182935
https://askubuntu.com/questions/271388/how-to-install-gcc-4-8
make[6]: Leaving directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/src'
make[5]: Leaving directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/src'
Making all in doc
make[5]: Entering directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc'
Making all in po
make[5]: Entering directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/po'
msgfmt -o de.mo ../../../../libstdc++-v3/po/de.po
msgfmt -o fr.mo ../../../../libstdc++-v3/po/fr.po
msgfmt: /gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libicui18n.so.57)
msgfmt: /gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.57)
msgfmt: /gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libicui18n.so.57)
msgfmt: /gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.57)
Makefile:460: recipe for target 'de.mo' failed
make[5]: *** [de.mo] Error 1
make[5]: *** 正在等待未完成的任务....
Makefile:460: recipe for target 'fr.mo' failed
make[5]: *** [fr.mo] Error 1
make[5]: Leaving directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/po'
Makefile:480: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3'
Makefile:386: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3'
Makefile:14883: recipe for target 'all-stage1-target-libstdc++-v3' failed
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[2]: Leaving directory '/gcc-4.8.5/build'
Makefile:21493: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/gcc-4.8.5/build'
Makefile:891: recipe for target 'all' failed
make: *** [all] Error 2
msgfmt: /gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc+±v3/src/.libs/libstdc++.so.6
: version CXXABI_1.3.8
not found (required by /lib/x86_64-linux-gnu/libicui18n.so.57)
root@tqc-PC:/gcc-4.8.5/build# strings /gcc-4.8.5/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6 | grep CXXABI
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_TM_1
CXXABI_1.3
CXXABI_1.3.2
CXXABI_1.3.6
CXXABI_1.3.1
CXXABI_1.3.5
CXXABI_1.3.4
CXXABI_TM_1
CXXABI_1.3.7
CXXABI_1.3.3
root@tqc-PC:/gcc-4.8.5/build# strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep CXXABI
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_1.3.8
CXXABI_1.3.9
CXXABI_1.3.10
CXXABI_TM_1
CXXABI_FLOAT128
rsync -ravz --progress -e 'ssh -p 6000' tqc@aliyun:~/gcc-4.8.tar.gz .
这篇关于吐血安装gcc4.8的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!