From owner-freebsd-questions@FreeBSD.ORG Thu Mar 31 16:05:00 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 A421B1065678 for ; Thu, 31 Mar 2011 16:05:00 +0000 (UTC) (envelope-from nec556@retena.com) Received: from resmaa14.ono.com (smtp14.ono.com [62.42.230.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3100D8FC1A for ; Thu, 31 Mar 2011 16:04:59 +0000 (UTC) Received: from GogPortatil.retena.com (212.21.232.228) by resmaa14.ono.com (8.5.113) (authenticated as nec556@retena.com) id 4D7F86D5003367B0; Thu, 31 Mar 2011 18:04:46 +0200 Message-ID: <4D7F86D5003367B0@> (added by postmaster@resmaa14.ono.com) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 31 Mar 2011 18:03:07 +0200 To: Anton Shterenlikht From: Eduardo In-Reply-To: <20110331151958.GA85527@mech-cluster241.men.bris.ac.uk> References: <20110331133753.GB93855@gizmo.acns.msu.edu> <20110331144924.GC85381@mech-cluster241.men.bris.ac.uk> <4D7F86D500333BD9@> <20110331151958.GA85527@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: 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: Thu, 31 Mar 2011 16:05:00 -0000 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, 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.