From owner-freebsd-questions Tue Oct 15 16:16:28 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 E3B3537B401 for ; Tue, 15 Oct 2002 16:16:26 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66E8D43E3B for ; Tue, 15 Oct 2002 16:16:26 -0700 (PDT) (envelope-from jud@myrealbox.com) Received: from localhost jud@smtp-send.myrealbox.com [63.214.199.135] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.14 $ on Novell NetWare via secured & encrypted transport (TLS); Tue, 15 Oct 2002 17:16:26 -0600 Date: Tue, 15 Oct 2002 19:16:49 -0400 From: Jud To: Deepankar Das Cc: culverk@yumyumyum.org, freebsd-questions@freebsd.org Subject: Re: Building FreeBSD 4.6 with GCC 3.2 Message-Id: <20021015191649.46dad333.jud@myrealbox.com> In-Reply-To: <3DAC8CDF.7060809@panasas.com> References: <3C23AF6E.90202@ns.aus.com> <20011221164429.U48837@elvis.mu.org> <3DAC84D3.5010103@panasas.com> <200210151734.39677.culverk@yumyumyum.org> <3DAC8CDF.7060809@panasas.com> X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 15 Oct 2002 14:47:11 -0700 Deepankar Das wrote: > We tried a few experiments with GCC 3.2 and parts of our source > code and found performance improvements. We want to see if there > are any similar improvements to the FreeBSD OS if we use GCC 3.2. > I understand that it is not a simple task to just swap compilers > to build the kernel. Would be very interested to know what others > have experienced. > > Thanks, > Deepankar > > Kenneth Culver wrote: > > > On Tuesday 15 October 2002 05:12 pm, Deepankar Das wrote: > > > >>All, > >> > >>Has anyone tried building FreeBSD 4.6 with GCC 3.2? I am seeing > >>pre-processor problems during the "make depend" stage. Anything > >>that I need to know to make GCC 3.2 build FreeBSD 4.6? > >> > >>Thanks, > >>Deepankar > >> > > > > I'm just curious, but why are you doing this. This isn't a supported way of > > doing things in FreeBSD 4.6, and I doubt that anyone's going to be able to > > tell you how to do it because of that. > > > > Ken > > > > > -- > ------------------------------------------------------------------------------- > Deepankar Das I can't give you the why, but I remember reading in one of the FBSD mailing lists essentially that 4.x=no, 5.x=yes regarding making world and kernel with GCC 3.x. My own experience with 4.x bears that out. OTOH, many applications build just dandy with GCC 3.x. Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message