From owner-freebsd-current Fri Aug 14 10:31:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02715 for freebsd-current-outgoing; Fri, 14 Aug 1998 10:31:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02709 for ; Fri, 14 Aug 1998 10:31:51 -0700 (PDT) (envelope-from fbsd@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost.StevesCafe.com [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.8/8.8.5) with ESMTP id LAA06318; Fri, 14 Aug 1998 11:31:14 -0600 (MDT) Message-Id: <199808141731.LAA06318@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0.2 2/24/98 From: Steve Passe To: Kyle Mestery cc: Alfred Perlstein , current@FreeBSD.ORG Subject: Re: new compiler? In-reply-to: Your message of "Fri, 14 Aug 1998 09:47:46 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 14 Aug 1998 11:31:14 -0600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, > On Fri, 14 Aug 1998, Alfred Perlstein wrote: > > > to support more recent C++ standards by default, do any core team members > > have a "favorite" compiler? i'm kinda interested in seeing if i can do > > anything to have 3.0 come out with a more current compiler and would like > > to know which to look at. (also considering the alpha port) > > > I would also like to see this happen, and would be willing to help make it > happen. > > > gcc 2.8.1? (i've heard masses of people complain it's buggy) > > ecgs (not heard much... but i know it has some interesting optimizations > > for i386, and better C++ support) > > anything else? > > > I have heard the opposite. I have heard that egcs is buggy.:) On one of > the NetBSD lists, someone said the latest egcs release only compiles > decent code on ix86 and sparc platforms. And Terry has said before that > the way they handle threads is broken, because you must compile thread > support into the compiler. I haven't heard as many bad things about > gcc-2.8.1. > ... We have a fairly complex system running with 2.2.6, FreeBSD pthreads and g++28. We tried both the standard compiler and egcs, but neither would compile the complete project, let alone run. The biggest problem is in the area of c++ templates, g++28 will eat things the other 2 barfed on. We had to make one patch to gcc28 b4 building, and turn on the "GCC28_THREAD_AWARE" define in libc_r to fix the problem with dynamic chain handling. After this exceptions seem to work properly. My vote would be for gcc28. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message