Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 1998 15:38:07 -0800
From:      Studded <Studded@san.rr.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: gcc 2.8.0
Message-ID:  <34EA1F5F.FBF8F285@san.rr.com>
References:  <Pine.BSF.3.96.980216224535.11246L-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote:
> 
> On Mon, 16 Feb 1998, Studded wrote:
> 
> > > gcc requries massive hacking to work.  Check in on the -hackers mail
> > > archives for current progess; we're still working on it.
> >
> >       This is a question I've been meaning to ask. I always took not being
> > able to upgrade gcc in stride because it's not been a priority for me.
> > However I was looking over some security stuff and one of the first
> > recommendations for securing a high priority machine is to remove the
> > compiler. I know that gcc is tightly integrated into FreeBSD, but I'm
> > wondering now if that's such a good idea.
> 
> Blowing it away is OK.  I did it pretty quickly on a 40MB printserver I
> put together last week.
> 
> rm /usr/bin/gcc /usr/bin/cc /usr/libexec/cc1plus ....
> rm -rf /usr/include

	Ok, that helps.

> This was while sysinstall was still downloading stuff :-)  Of course I did
> the bonehead thing of removing /usr/lib; luckily mount_nfs is statically
> linked!

	Hehehe.. I know that feeling.
 
> >       Which leads me to my question. Are there any plans to dis-integrate gcc
> > from the base? It seems like the gcc folks are being more agressive
> > about more frequent upgrades, so it would be nice to be able to play
> > around with them.
> 
> The main problem upgrading gcc is that FSF doesn't recognize a.out and we
> haven't converted to ELF yet.  Secondly, the FreeBSD project prefers to
> wait it out until gcc falls into a proven stable release.  The early
> several releases are often buggy and patches quickly follow.  Why do you
> think we run 2.7.2.1 and not 2.7.0?  ;-)

	Ahhhh.. Ok. I guess I misunderstood the integration problems. Thanks
for clearing it up for me.

Doug

--
***         Chief Operations Officer, DALnet IRC network       ***
*** Proud operator, designer and maintainer of the world's largest
*** Internet Relay Chat server.  5,328 clients and still growing.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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