From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 08:24:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 667C1106564A for ; Fri, 1 Apr 2011 08:24:06 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5C88FC0A for ; Fri, 1 Apr 2011 08:24:05 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Q5ZeF-0003WT-Ro; Fri, 01 Apr 2011 09:24:04 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q5ZeF-0007Eb-Mc; Fri, 01 Apr 2011 09:24:03 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p318O3Ml092448; Fri, 1 Apr 2011 09:24:03 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p318O3Qp092447; Fri, 1 Apr 2011 09:24:03 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 1 Apr 2011 09:24:03 +0100 From: Anton Shterenlikht To: Eduardo Message-ID: <20110401082402.GA92424@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Eduardo , Anton Shterenlikht , freebsd-questions@freebsd.org References: <20110331133753.GB93855@gizmo.acns.msu.edu> <20110331144924.GC85381@mech-cluster241.men.bris.ac.uk> <4D7F86D500333BD9@> <20110331151958.GA85527@mech-cluster241.men.bris.ac.uk> <4D7F86D5003367B0@> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D7F86D5003367B0@> User-Agent: Mutt/1.4.2.3i Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: gcc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 08:24:06 -0000 On Thu, Mar 31, 2011 at 06:03:07PM +0200, Eduardo wrote: > At 17:19 31/03/2011, Anton Shterenlikht wrote: > >> >What is FreeBSD c compiler? > >> >Isn't it GCC? > >> > >> Now yes, but FreeBSD needs an iso c'99 compiler and source code is > >> iso oriented, not gcc, afaik gcc hacks and code that only compiles on > >> gcc can't be commited, there's a mailing list for iso99 compatibility > >> checks. gcc is one of them, but there are others. 9.0-CURRENT uses > >> llvm but in theory you can use anyone, even tcc. > > > >Are you saying GCC doesn't comply with ISO standard(s)? > > Gcc comply with ISO standard, ok, good, just wanted to check. I'm very happy that FreeBSD code is strictly standard compliant. > but has extended it and permits that > many developers use that extensions, making the code gcc biased and > not iso standard. Some open source projects develops using those > hacks (like ffmpeg and libavcodec projects) and explicity says that > source code must be compiled with gcc, if you use other compiler, it > must be gcc compatible. Yes, I'm aware of the extensions issue. This must really make life hell for ports@. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423