From owner-freebsd-questions Tue Dec 28 9:39:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kaunas.aiva.lt (kaunas.aiva.lt [193.219.247.177]) by hub.freebsd.org (Postfix) with ESMTP id BDA1D15486 for ; Tue, 28 Dec 1999 09:39:49 -0800 (PST) (envelope-from f1926@kaunas.aiva.lt) Received: from briviba.lt (s25.kaunas.aiva.lt [193.219.247.155]) by kaunas.aiva.lt (8.9.3/8.9.3) with SMTP id TAA09294 for ; Tue, 28 Dec 1999 19:39:45 +0200 From: Tomas Furmonavicius To: freebsd-questions@FreeBSD.ORG Subject: Re: gcc vs egcs Date: Tue, 28 Dec 1999 19:27:02 +0200 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99122819410900.00776@briviba.lt> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathon McKitrick wrote: >Correct me if i'm wrong, but is BSD moving to egcs in 4.0? How will this >change the generated code? Is it just more C++ compatible? There will be one more problem: in egcs C++ compiler exception handling support is enabled by default. It produces _tons_ of _unshared_ code and data, increasing memory consumption significantly. Very few free applications and libraries use exception handling, but nobody cares to disable it when compiling (at least in Linux distributions). For example KDE 1.1.x is almost unusable when compiled with exception handling enabled, but AFAIK all Linux distributions ship KDE compiled with exception support. I hope that BSD port maintainers won't repeat this mistake. Tomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message