Having read http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/article.html some questions arise:
- The article headline "Using newer version of GCC and binutils with the FreeBSD Ports Collection" talks about ports collection. Why or why not building a custom kernel with a newer gcc version?
- After having build gcc44 from ports and followed the article till end
gcc -v shows gcc version 4.2.1 20070719 Target: amd64-undermydesk-freebsd.
gcc44 -v shows 4.4.3 20091215 (prerelease) (GCC) Target: x86_64-portbld-freebsd8.0 .
Now does this suggest that gcc44 is not used when gcc is invoked or does this work on ports only?
- The article stays short on how to configure gcc[newer] for general usage. I could not find clear instructions on how to configure environment variables and/or system links for newer gcc versions. What is best practise or should this be avoided?
- There are different readings of Target: . Is further configuration for target on amd64 necessary?