Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 14:25:51 -0500 (EST)
From:      Chuck Robey <chuckr@picnic.mat.net>
To:        Ed Hall <edhall@screech.weirdnoise.com>
Cc:        Gergely EGERVARY <mauzi@poli.hu>, hackers@FreeBSD.ORG
Subject:   Re: [OFFTOPIC] alt. C compiler 
Message-ID:  <Pine.BSF.4.21.0001041419390.2014-100000@picnic.mat.net>
In-Reply-To: <200001041906.LAA18457@screech.weirdnoise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Jan 2000, Ed Hall wrote:

> : I have just upgraded my system to -current w/egcs 2.95.2 and I have
> : several problems with it, especially when using optimizations (-O2 and
> : such)
> 
> Have you reported those problems to <bug-gcc@gnu.org>?  Bugs aren't
> very likely to get fixed if no one reports them.
> 
> As for free alternatives--I don't think there are any, especially if
> you are looking for something "better" than the current GCC.  The
> various free C compilers I've seen over the years have been little
> better than toys.

There are some, but it's very difficult to replace the system
compiler.  Look in ports/devel.  Your given reason, tho, doesn't make too
much sense ... first thing, the options have changed, and -O2 doesn't
work.  I know you don't mean this, but it sounds like you're complaining
that you can't use -O2, not that you can't get a specified kind of
optimization (which can be addressed).  The gcc we have is the best choice
presently, else we wouldn't be using it.

I want to make it clear, so I'm going to use an extreme example of what I
mean, please don't take it wrong; I could very easily give you a small
shell wrapper over gcc, that would make -O2 work (it would throw the
option away).  You obviously don't want that, but it's the only basis of
the problem you display.

What specific kind of optimization are you looking for?  If you ask that,
probably your problem can be more directly addressed using our present
compiler.


----------------------------------------------------------------------------
Chuck Robey                | Interests include C & Java programming,
New Year's Resolution:  I  | electronics, communications, and
will not sphroxify gullible| signal processing.
people into looking up     | I run picnic.mat.net: FreeBSD-current(i386) and
fictitious words in the    |      jaunt.mat.net : FreeBSD-current(Alpha)|
dictionary.                |
----------------------------------------------------------------------------



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




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