Install GCC 3.4
F ** K, not to compile the 0.11 kernel.
Source code compilation has been put into practice-"No return", and various errors have been reported. I have at least four versions of GCC, all kinds of incompatibility. All kinds of nausea...
It was not completed just now. Use the Deb installation package to install GCC 3.4
Find the following Deb installation packages
Cpp-3.3_3.3.6-15ubuntu6_i386.deb // second to be installed
Gcc-3.3_3.3.6-15ubuntu6_i386.deb // the last to be installed
Gcc-3.3-base_3.3.6-15ubuntu6_i386.deb // first to be installed
Do not use the Ubuntu Software Center for installation. This will uninstall the installed High Version GCC by default!
Force installation: sudo dpkg -- force-depends-I XXX. Deb
At this time, we can see that there are two versions of GCC under/usr/bin /.
$ Sudo Update-alternatives -- install/usr/bin/GCC gcc/usr/bin/gcc-4.4
$ Sudo Update-alternatives -- install/usr/bin/GCC gcc/usr/bin/gcc-3.3
Switch version
$ Sudo Update-alternatives -- config gcc
There are two options available, both of which provide "GCC"
1/usr/bin/gcc-3.3 * +
2/usr/bin/gcc-4.4
To maintain the default value [*], press the Enter key or enter the selected number: 1.
Use '/usr/bin/gcc-3.3' to provide 'GCC ".
OK! Done
Install GCC 3.4