Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2011 09:24:03 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Eduardo <nec556@retena.com>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-questions@freebsd.org
Subject:   Re: gcc
Message-ID:  <20110401082402.GA92424@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <4D7F86D5003367B0@>
References:  <ca77572a-c5aa-4c7c-818a-9684d0b5a907@email.android.com> <AANLkTim=miix3V_=TSR4pBraSGV6YuvDy6H-z0D4wKwJ@mail.gmail.com> <20110331133753.GB93855@gizmo.acns.msu.edu> <20110331144924.GC85381@mech-cluster241.men.bris.ac.uk> <4D7F86D500333BD9@> <20110331151958.GA85527@mech-cluster241.men.bris.ac.uk> <4D7F86D5003367B0@>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110401082402.GA92424>