From owner-freebsd-questions Mon Jan 27 20: 1: 8 2003 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 CD8B737B401 for ; Mon, 27 Jan 2003 20:01:06 -0800 (PST) Received: from tomts25-srv.bellnexxia.net (tomts25.bellnexxia.net [209.226.175.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id D07D643E4A for ; Mon, 27 Jan 2003 20:01:05 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca ([65.95.180.103]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030128040104.FMAH7180.tomts25-srv.bellnexxia.net@gabby.gsicomp.on.ca>; Mon, 27 Jan 2003 23:01:04 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.6/8.12.6) with SMTP id h0S3wAAl013211; Mon, 27 Jan 2003 22:58:10 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <00eb01c2c681$c7170290$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Thaddeus J. Quintin" , References: <001401c2c67e$0e734710$0200a8c0@tjqathlonpc> Subject: Re: Installing new versions of GCC Date: Mon, 27 Jan 2003 23:00:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 > Wow, Thanks for all of the responses. > > First off, that was a typo in my original email. > > I was running make in /usr/ports/lang/gcc32. > > Now, I tried a few things. I ran 'make clean' to start over, 'make', > 'make deinstall', and then 'make install'. > > When that's done, I end up with gcc32 (and g++32, etc) in > /usr/local/bin. > > So, THAT appears to be working alright. However, the original gcc > (etc.) remain in /usr/bin. As would be expected. If you plan on recompiling your kernel, you need to have the "system gcc" around or else things will get screwy. If you want to compile using gcc32, just use gcc32 intead of gcc. To get configure to use your new compile, do this: ./configure CC=gcc32 CXX=g++32 -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message