Compiling FreeBSD with GCC 4.3+

David Naylor naylor.b.david at gmail.com
Mon Apr 20 20:17:42 UTC 2009


Hi,

There has been an article recently published by phoronix 
(http://www.phoronix.com/scan.php?page=article&item=pcbsd_vs_kubuntu&num=1) 
that compares PC-BSD to Kubuntu.  Kubuntu uses GCC 4.3.3 compared to 
FreeBSD's GCC 4.2.2.  There is a considerable performance difference between 
the two OS's, the article contributes this difference to the compiler.  

In order to check if this is so (and to get the speed improvements of GCC 
4.3+) one needs to compile the ports (and preferable world/kernel as well) 
with GCC 4.3+.  

Is there an easy way to set this up and does anyone know the compatibility of 
world/kernel/ports with GCC 4.3+?

Also has anyone tried this and benchmarked the result?

Regards,

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090420/7e80e5da/attachment.pgp


More information about the freebsd-questions mailing list