Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 19:23:17 +0200
From:      "no@spam@mgedv.net" <nospam@mgedv.net>
To:        "'Jacob Jennings'" <bloodofanubis@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Upgrading Included GCC
Message-ID:  <002201c6a445$88820980$01010101@avalon.lan>
In-Reply-To: <200607101126.46918.bloodofanubis@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 
> 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 ;-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201c6a445$88820980$01010101>