From owner-freebsd-alpha Wed Jan 9 13: 9:35 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 7621737B416 for ; Wed, 9 Jan 2002 13:09:27 -0800 (PST) Received: (qmail 3007 invoked from network); 9 Jan 2002 21:09:26 -0000 Received: from unknown (HELO server.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 Jan 2002 21:09:26 -0000 Received: from laptop.baldwin.cx (root@laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g09L9QK58627; Wed, 9 Jan 2002 13:09:26 -0800 (PST) (envelope-from john@laptop.baldwin.cx) Received: (from john@localhost) by laptop.baldwin.cx (8.11.6/8.11.6) id g09L8qZ06363; Wed, 9 Jan 2002 13:08:52 -0800 (PST) (envelope-from john) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3C3CAFB3.71D18E7F@mindspring.com> Date: Wed, 09 Jan 2002 13:08:52 -0800 (PST) From: John Baldwin To: Terry Lambert Subject: Re: Using GCC 3 for ports? Cc: freebsd-alpha@freebsd.org, Idar Tollefsen 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 On 09-Jan-02 Terry Lambert wrote: > John Baldwin wrote: >> > But CC=gcc30 (or 31) is it? What about include paths? Doesn't >> > 3.x install it's own set of updated libraries, headers, e.g.? >> >> Yes, and those paths are compiled into the compiler as its standard include >> path, just like /usr/include is compiled into /usr/bin/cc as it's standard >> include path. :) Setting CC is enough, the rest is magic. :) > > Except for the RTTI and other C++ include files, which, if > DESTDIR is set, FreeBSD's .mk files override, and you get > the old versions, and the resulting code doesn't work. > > This may also be the 3.0 coredump problem... No, read the full message about teh coredump problem. It doesn't handle switch statements with only a default case properly. 3.1 has this fixed, but 3.1's code geneation for sparc is broken (it leaves out instructions) so the sparc port is using 3.0.2 right now. We've got several patches in teh sparc64 branch to work around this bug. > -- Terry -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message