本文介绍了不能使用CONFIG_CC_STACKPROTECTOR_STRONG:-fstack-protector-strong不受编译器支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的笔记本电脑上运行Ubuntu 16.10;

我最近从 / p>

Clear them out:

$ sudo update-alternatives --remove-all gcc
$ sudo update-alternatives --remove-all g++

然后重新安装它们,并确保您的gcc和g ++引用t

Then re-install them, and make sure your gcc and g++ reference the same version.

sudo update-alternatives --config gcc
sudo update-alternatives --config g++






注意(2017年3月):


Note (March 2017): doug65536 mentions in the comments another case:

这篇关于不能使用CONFIG_CC_STACKPROTECTOR_STRONG:-fstack-protector-strong不受编译器支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!