Date: Tue, 19 Apr 2011 19:51:48 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: "arch@freebsd.org" <arch@FreeBSD.org>, "current@freebsd.org" <current@FreeBSD.org> Subject: Re: Removal of ICC (intel compiler) bits from mk Message-ID: <4DADCBB4.8060301@FreeBSD.org> In-Reply-To: <20110419132114.43009vpwaeidet68@webmail.leidinger.net> References: <4DAC3FD9.1060603@FreeBSD.org> <20110418103416.76b07b36@kan.dnsalias.net> <4DAC9534.60009@FreeBSD.org> <20110419132114.43009vpwaeidet68@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-04-19 13:21, Alexander Leidinger wrote: ... >>> You probably also want to remove the code that uses __INTEL_COMPILER >>> in source tree if you want to be really thorough. >> >> Ok, new patch attached. Some of the contributed sources also contain >> instances of __INTEL_COMPILER, but these are all from upstream, so I >> left them in. > > Is it really necessary to remove them from cdefs.h? If someone takes > parts of our source and wants to compile them on linux or windows with > icc, the icc parts in cdefs.h are a valuable part to have. Isn't that the case for the other headers too? Except the in_cksum.[ch] files, where the 'fix' for ICC is apparently not needed at all anymore. > Info: AFAIR I didn't add icc stuff to csup, and AFAIR csup was added > when our icc in the ports collection was outdated, so I assume someone > tested csup with icc on linux and addid this stuff there. Removing it > from csup seems to be a step backwards to me in this case. It used to be in contrib, but was moved to the base system recently. If csup is also ported to e.g. Linux, then it won't make much sense to remove the ICC ifdefs. > Regarding the build infrastructure part I just skimmed over it, and > the math/std* headers and 1s-complement-checksum part looks ok to me. For now, I will just commit the Makefile/*.mk part, and leave most headers as they are.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DADCBB4.8060301>