From owner-freebsd-alpha Wed Jan 9 10:53: 4 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.baerum.kommune.no (mail.baerum.kommune.no [195.134.40.62]) by hub.freebsd.org (Postfix) with SMTP id 0C84D37B405; Wed, 9 Jan 2002 10:52:58 -0800 (PST) Received: from SA-D01-Message_Server by mail.baerum.kommune.no with Novell_GroupWise; Wed, 09 Jan 2002 19:52:51 +0100 Message-Id: X-Mailer: Novell GroupWise 5.5.2 Date: Wed, 09 Jan 2002 19:52:22 +0100 From: "Idar Tollefsen" To: Cc: Subject: RE: Using GCC 3 for ports? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John, > Don't use gcc 3.0.x. It will dump core on the following code: >=20 > switch(foo) { > default: > blah(); > break; > } > > You don't want to know how many places code like this exists in > our source tree much less in 3rd party software. :) Just make > sure you have gcc 3.1.x which has this bug fixed. It doesn't look > like gcc 3.1 is in ports (probably cause there's no released version > of it yet). However, if you really want to, you can install the > gcc30 port, and build by doing 'make CC=3Dgcc30'. I might hold off until I see 3.1 appear in the port collection then. But CC=3Dgcc30 (or 31) is it? What about include paths? Doesn't 3.x install it's own set of updated libraries, headers, e.g.? - IT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message