From owner-freebsd-hackers Tue Jan 4 11:26:33 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 60AC914DD4 for ; Tue, 4 Jan 2000 11:26:29 -0800 (PST) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id OAA28162; Tue, 4 Jan 2000 14:25:51 -0500 (EST) (envelope-from chuckr@picnic.mat.net) Date: Tue, 4 Jan 2000 14:25:51 -0500 (EST) From: Chuck Robey To: Ed Hall Cc: Gergely EGERVARY , hackers@FreeBSD.ORG Subject: Re: [OFFTOPIC] alt. C compiler In-Reply-To: <200001041906.LAA18457@screech.weirdnoise.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ? 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