GCC version in FreeBSD 8.2

Hello!

Native version is 4.2.2
Why it is so old? There is many gcc versions in ports.
Can I use them to compile kernel/world?
How many problems may arise if I will use gcc from ports?
 
It's old because of the licensing of newer versions of gcc, 4.2.2 is the last version with a suitable license for FreeBSD.
Stick to the default gcc on 8.2 or you will run into major problems. On FreeBSD 9 you have the option to use clang to compile world and kernel, however clang is not able to compile some of the ports.

http://wiki.freebsd.org/BuildingFreeBSDWithClang
 
Back
Top