From owner-freebsd-questions Sat Oct 9 9:46:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id C66AB14BF3 for ; Sat, 9 Oct 1999 09:46:20 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id LAA14423; Sat, 9 Oct 1999 11:46:17 -0500 (CDT) (envelope-from dan) Date: Sat, 9 Oct 1999 11:46:17 -0500 From: Dan Nelson To: TrouBle Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: removing GCC Message-ID: <19991009114617.A14201@dan.emsphone.com> References: <37FEDCF7.59450877@hackfurby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <37FEDCF7.59450877@hackfurby.com> X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Oct 09), TrouBle said: > Okay guys heres one for ya..... > > 3.3-RELEASE comes stock with gcc 2.7.2.3 > > yet in the ports tree there is gcc 2.9.5 ( egcs based ) and i know > 4.0-RELEASE is also EGCS based > > how do i replace the gcc 2.7.2.3 with the newer 2.9.5 and not have it > clobbered by a build world, and use it as my default compiler ?? Install ports/devel/egcs, and stick /usr/local/bin in your path before /usr/bin. Then anything running "gcc" will find gcc 2.9.5, and kernel builds and buildworlds will still use the 2.7.2 that they expect. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message