From owner-freebsd-questions Mon Jul 15 3:13:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F3DD37B43C for ; Mon, 15 Jul 2002 03:13:50 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D58E43E31 for ; Mon, 15 Jul 2002 03:13:50 -0700 (PDT) (envelope-from jud@myrealbox.com) Received: from dialup-63.214.216.216.dial1.philadelphia1.level3.net ([63.214.216.216] helo=sparky) by harrier.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 17U2rK-0007CB-00; Mon, 15 Jul 2002 03:13:39 -0700 From: Jud To: "Craig Williamson (ENZ)" , Matthew Seaman Cc: "'freebsd-questions@freebsd.org'" Date: Mon, 15 Jul 2002 06:14:01 -0400 X-Priority: 3 (Normal) In-Reply-To: <20020714232749.GB28440@happy-idiot-talk.infracaninophi> Message-Id: Subject: Re: FreeBSD with GCC3.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Mailer: Opera 6.04 build 1135 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 7/14/2002 7:27:49 PM, Matthew Seaman wrote: >On Mon, Jul 15, 2002 at 07:18:40AM +1000, Craig Williamson (ENZ) wrote: > >> Has anyone had success with getting GCC3.1 working with FreeBSD yet. > >It's in ports... > >> A friend of mine compiled Gentoo Linux with GCC3.1 and he reckoned it seemed >> slower on his system than Linux compiled with GCC2.95. Has anyone had >> success with GCC3.1 and is it worthing trying to install it over 2.95. > >I would think twice before wiping out the system compiler in favour of >gcc-3.1. I'm fairly sure that gcc-3.1 won't compile the world >correctly on 4-STABLE. By all means install 3.1 as a second compiler, >but keep the old version around too. > >Of course, 5-CURRENT has gcc-3.x as the default compiler. If you're a >bleeding-edge fanatic, you could take a look at the developer preview. >Be warned that it might be even closer to the edge than you could cope >with though. Matt Dillon (I think it was in the -current mailing list) mentioned that using gcc-3.1 seemed to cause high CPU usage during compile and no improvement or some degradation in performance, if I remember what he said correctly. I'm using -STABLE, and I've tried to compile world, kernel and ports with gcc-3.1. World and kernel error out. Ports usually compile happily enough. However, assuming that there's no performance gain, I've pretty well stopped fooling with gcc-3.1 for the moment. If I further remember correctly, someone at http://www.coyotegulch.com/ liked the way gcc-3.x worked (though that wasn't about FreeBSD). Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message