Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 1998 12:16:38 +0930 (CST)
From:      Kris Kennaway <kkennawa@physics.adelaide.edu.au>
To:        Mike Smith <mike@smith.net.au>
Cc:        Alex <garbanzo@hooked.net>, Alexander Sanda <entropy@compufit.at>, wwoods@cybcon.com, freebsd-current@FreeBSD.ORG
Subject:   Re: gcc 2.8 
Message-ID:  <Pine.OSF.3.90.980823120950.31642A-100000@mercury>
In-Reply-To: <199808221719.RAA20220@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Aug 1998, Mike Smith wrote:

> > I'm using egcs from their anon cvs
> > repository, and after building ELF libs and X (and all other X related
> > goodies), egcs works wonderfully.  I don't have any major cli C++
> > programs, so I didn't bother with building an ELF world.  gdb seems to be
> > the only stumbling block for me.
> 
> Try building the rest of the world, and run with it for a few weeks.

For what it's worth, I've been using egcs (-O2 -mpentium -march=pentium)
to compile my kernel and all the compilable parts of the world for some
time now (there are about 10 things which egcs can't compile at present).
I haven't experienced any problems whatsoever with things misbehaving or 
crashing randomly; in fact at the moment my system is about the most 
stable it's been all year.

When I encounter a suspicious problem with a utility, I'll usually 
try recompiling it with gcc to see if it might be a compiler problem - 
but all the problems so far have been to do with current itself. I don't 
know whether there's any benefit to be gained by doing what I'm doing 
but it does at least seem to work :-)

> Agreed, we need better C++ support.  But obtaining it at the price of 
> damaging the operating system itself is not a tradeoff I think any of 
> us would be happy with.

For the record, most of the C++ stuff in the source tree is not compilable
with egcs..from memory the other parts which I have to compile with gcc
are due to extra compiler warnings which cause compilation to fail (i.e. 
warnings treated as errors), the lkms (egcs doesnt have -aout) and the
biosboot stuff (exceeds maximum length). 

Kris

> \\  Sometimes you're ahead,       \\  Mike Smith
> \\  sometimes you're behind.      \\  mike@smith.net.au
> \\  The race is long, and in the  \\  msmith@freebsd.org
> \\  end it's only with yourself.  \\  msmith@cdrom.com

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.90.980823120950.31642A-100000>