Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 17:16:38 +0200
From:      Eduardo <nec556@retena.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gcc
Message-ID:  <4D7F86D500333BD9@> (added by postmaster@resmaa14.ono.com)
In-Reply-To: <20110331144924.GC85381@mech-cluster241.men.bris.ac.uk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
At 16:49 31/03/2011, you wrote:
>On Thu, Mar 31, 2011 at 09:37:53AM -0400, Jerry McAllister wrote:
> > On Wed, Mar 30, 2011 at 10:10:44PM -0500, Adam Vande More wrote:
> >
> > > On Wed, Mar 30, 2011 at 9:06 PM, Gary Dunn <knowtree@aloha.com> wrote:
> > >
> > > > When will we bump the version of gcc? On my fresh 8.2 build 
> it is 4.2.1.
> > > > The ports tree has newer, up to 4.7.0 dated 19 Mar 2011.
> > > >
> > >
> > > Probably never, as GPL 3 code isn't allowed in the base 
> system.  There have
> > > been some optimizations backported to gcc in CURRENT that add 
> in stuff like
> > > newer instruction sets I believe.
> >
> > eg.  If you want a newer gcc, such as the one in ports, then go
> > ahead and install it.   The system uses a FreeBSD c compiler, not gcc.
>
>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.

>% cc --version
>cc (GCC) 4.2.1 20070719  [FreeBSD]
>
>As far back as I know (starting from 4.9)
>it's always been GCC
>
>Perhaps I misunderstood you..





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