From owner-freebsd-arch@FreeBSD.ORG Fri Nov 9 07:28:40 2012 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8CD9DA9 for ; Fri, 9 Nov 2012 07:28:40 +0000 (UTC) (envelope-from janm@transactionware.com) Received: from mail3.transactionware.com (mail3.transactionware.com [202.68.173.211]) by mx1.freebsd.org (Postfix) with SMTP id DFC3D8FC14 for ; Fri, 9 Nov 2012 07:28:39 +0000 (UTC) Received: (qmail 37251 invoked by uid 907); 9 Nov 2012 07:28:38 -0000 Received: from Unknown (HELO jmmacpro.tmst.com.au) (202.68.173.218) (smtp-auth username janm, mechanism plain) by mail3.transactionware.com (qpsmtpd/0.84) with (AES128-SHA encrypted) ESMTPSA; Fri, 09 Nov 2012 18:28:38 +1100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: removing support for ICC?? From: Jan Mikkelsen In-Reply-To: <509BBBF4.9080305@FreeBSD.org> Date: Fri, 9 Nov 2012 18:28:37 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: <8DE286D7-3187-4724-B4B8-5E06FE010F22@transactionware.com> References: <20121107221730.000017c1@unknown> <509BBBF4.9080305@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.1499) Cc: Alexander Leidinger , freebsd-arch@FreeBSD.org, bde@FreeBSD.org, Eitan Adler X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 07:28:40 -0000 Hi, On 09/11/2012, at 1:04 AM, Andriy Gapon 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.