From owner-freebsd-questions@FreeBSD.ORG Mon Jul 10 17:23:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DD74216A4DD for ; Mon, 10 Jul 2006 17:23:09 +0000 (UTC) (envelope-from nospam@mgedv.net) Received: from mail.mgedv.net (mail.mgedv.net [81.223.168.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D6BD43D5F for ; Mon, 10 Jul 2006 17:23:09 +0000 (GMT) (envelope-from nospam@mgedv.net) Received: from metis (sslint.my.loop [1.1.1.1]) by mail.my.loop (mgedv) with ESMTP id D8129457AF; Mon, 10 Jul 2006 19:23:07 +0200 (CEST) From: "no@spam@mgedv.net" To: "'Jacob Jennings'" , Date: Mon, 10 Jul 2006 19:23:17 +0200 Message-ID: <002201c6a445$88820980$01010101@avalon.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcakPCmg7ghOfyWbTySBUxMHSPClFwACSG3Q In-Reply-To: <200607101126.46918.bloodofanubis@gmail.com> Cc: Subject: RE: Upgrading Included GCC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 17:23:10 -0000 > > I've already installed it, I should have mentioned > that--sorry. What I mean is > there a way to where when I type 'gcc' or 'g++' it uses gcc41 > or g++41? I > know I could use symlinks but that would entail removing the > gcc 3.4.2 > binaries which I'm afraid might be insecure. i don't know what you want to do with it, but if you compile some standards-aware software, you'd be able to set CC and CPP, CXX as environment variable to the binaries you installed export CC="/usr/local/gcc41/bin/gcc" for example. maybe this works. dunno for sure, but worth a try ;-)