Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2012 18:28:37 +1100
From:      Jan Mikkelsen <janm@transactionware.com>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        Alexander Leidinger <Alexander@Leidinger.net>, freebsd-arch@FreeBSD.org, bde@FreeBSD.org, Eitan Adler <lists@eitanadler.com>
Subject:   Re: removing support for ICC??
Message-ID:  <8DE286D7-3187-4724-B4B8-5E06FE010F22@transactionware.com>
In-Reply-To: <509BBBF4.9080305@FreeBSD.org>
References:  <CAF6rxgmTGsg6JMp5tswDGE4TZNcjirMJ8aiKLcSfd-ehbp_WYg@mail.gmail.com> <20121107221730.000017c1@unknown> <509BBBF4.9080305@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 09/11/2012, at 1:04 AM, Andriy Gapon <avg@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.
>=20
> 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?
>=20
> 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.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8DE286D7-3187-4724-B4B8-5E06FE010F22>