removing support for ICC??

Jan Mikkelsen janm at transactionware.com
Fri Nov 9 07:28:40 UTC 2012


Hi,

On 09/11/2012, at 1:04 AM, Andriy Gapon <avg at FreeBSD.org> wrote:

> on 07/11/2012 23:17 Alexander Leidinger said the following:
>> cdefs.h is not only used in the kernel, but also in the userland.
>> Anything from userland which includes cdefs.h and may also compile on
>> other operating systems benefits from keeping this support in cdefs.h.
> 
> Do you _honestly_ believe in this?
> That somebody might compile something using our cdefs.h on other OS and might use
> the Intel compiler for that and the compilation might even work with the version
> of icc that they use?
> 
> P.S. I am not questioning your statement, just really curios, because I have never
> heard about such things before.

I occasionally use the Dignus C/C++ compiler to target IBM z/OS (aka MVS).

Its runtime library is a copy of FreeBSD's, and it includes cdefs.h. So, yes, I compile code on a non-FreeBSD system to target a non-Unix system with FreeBSD's cdefs.h. It does happen.

Regards,

Jan.






More information about the freebsd-arch mailing list