GCC 4.2.1: Replacing builtin compiler

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Sat Jul 7 09:54:36 UTC 2007


Jan Sebosik wrote:
> Hi
> 
> how safe is it to compile FreeBSD-world without builtin GCC, and replace
> it with GCC 4.2.1 from ports ?
> 
> Should I recompile world and kernel after installing new GCC with it ?
> 
> Best regards
> 

GCC from ports links against the GNU libs, unlike GCC in base, which links to
the FreeBSD libs. So it's not as trivial as you seem to think.

You might try to use GCC from the FreeBSD-CURRENT branch.


More information about the freebsd-questions mailing list