From owner-freebsd-current Mon Nov 9 17:07:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18162 for freebsd-current-outgoing; Mon, 9 Nov 1998 17:07:48 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18115 for ; Mon, 9 Nov 1998 17:07:39 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id UAA26425; Mon, 9 Nov 1998 20:06:13 -0500 (EST) Date: Mon, 9 Nov 1998 20:06:13 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Alfred Perlstein cc: Phillip Salzman , current@FreeBSD.ORG Subject: Re: newer gcc? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 9 Nov 1998, Alfred Perlstein wrote: > > On Mon, 9 Nov 1998, Phillip Salzman wrote: > > > > Has there been any thought to jumping to a newer version of gcc, > > > specifically egcs? > > > > Doesn't egcs require an ELF filetype? Currently many people > > are still a.out. I'm sure it will change in the future. > > Well i only brought this up again for 2 reasons, as i know it has been > discussed to death in the past, however with the move to ELF and perl5 i > thought... what the hell :) Of course, when 3.0 is the branch people are encouraged to move to, and as it's already entirely ELF (except the boot floppies, but still...) it will be safe to do this. But of course, the policy of least surprise is highly important in this kind of thing > > Anyhow: > > a) egcs is a bit more improved than gcc in terms of c++ support, and more > features/optimizations. The "features/optimization" part is very debatable. For C code, I tend to get much inferior assembly output using egcs, or even gcc 2.8.1, rather than 2.7.2.1.x, even if of course egcs _is_ better for C++, as I've seen. Have you actually successfully compiled an entire world with egcs? Let me know when you do (kernel too). > > b) i thought the move to elf was so that we _could_ better use the newer > GNU tools. This is correct, but you're kinda mistaken here: the move to elf is to have a newer TOOLCHAIN, which is mainly binutils (GNU ld, as, obj*, gdb, bfd) not for the latest compiler. For this matter TenDRA is a rather nice compiler, but has generated entirely incorrect code at times, so for right now is best as a linter. > > The reason i was asking is that i may bmake it and stick it into my tree, > if i can produce a "release" build using it maybe people would show more > interest. > > -Alfred Cheers, Brian Feldman > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message