Date: Tue, 11 Nov 2003 16:43:02 +0100 From: Morten Rodal <morten@rodal.no> To: Guido van Rooij <guido@gvr.org> Cc: arch@freebsd.org Subject: Re: Patches to compile the kernel with Intel's C/C++ compiler Message-ID: <3FB10386.8030802@rodal.no> In-Reply-To: <20031111153142.GA42684@gvr.gvr.org> References: <20031110222221.36a11979.Alexander@Leidinger.net> <20031111153142.GA42684@gvr.gvr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8755C425D82B4229942B4A26 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Guido van Rooij wrote: > On Mon, Nov 10, 2003 at 10:22:21PM +0100, Alexander Leidinger wrote: >>Hi, >> >>at http://www.leidinger.net/FreeBSD/current-patches/ I have some patches >>which allow to compile the kernel with icc (CC=icc make depend && CC=icc >>make). They are a joint effort of Marius Strobl and me. >> >>The resulting kernel still has some issues (no NFS, some packet loss, >>... see icc.README in the above mentioned directory), but it boots and >>runs. > > > What are the benefits of running an icc compiled kernel? > The Intel C compiler is known to generate far better code for the Pentium 4 processor family (and more likely the Itanium processors), and probably others as well. It certanly beats gcc in most benchmark tests and other scientific applications. I have found that icc generates far more, and more accurate, warnings and errors for programs and this is probably what the FreeBSD kernel could benefit most from. Having more than one compiler helps the developers find bugs faster. -- Morten Rodal --------------enig8755C425D82B4229942B4A26 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/sQOPbWe1Cy11WVsRAh3wAKCrznjz9+t8otwIwROf09tTEKGPEACg0Vfs nI4a0uTl0LffuEfcndbc9z8= =qr6Z -----END PGP SIGNATURE----- --------------enig8755C425D82B4229942B4A26--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB10386.8030802>