Reference: http://blog.csdn.net/nseven/article/details/8288603
Before using the default ubuntu12.04 default GCC compiled source code, the results when debugging with GDB appeared cannot find the bounds of the current ... The error
View the information on the Internet, probably because the GCC version should be used gcc4.4 now the Ubuntu version changes to try again.
1. View GCC version and g++ version
Gcc-v
g++-V
2. Installing GCC and g++ version 4.4
sudo apt-get install gcc-4.4 g++-4.4 g++-4.4-multilib
3. Modify the GCC link in the/usr/bin directory
sudo mv gcc Gcc.bak
sudo ln-s gcc-4.4 gcc
4. Modify the g++ link in the/usr/bin directory
sudo mv g++ G++.bak
sudo ln-s g++-4.4 g++
5. View gcc and g++ version numbers
Gcc-v
G++-v
You can see that the version has changed.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
[ODROID-PC] ubuntu12.04 64bit modify GCC4.6 to GCC4.4