Error on "sudo port -v upgrade outdated"
jonesc at hep.phy.cam.ac.uk
Mon Jul 9 06:14:58 PDT 2012
On 09/07/12 14:12, Kok-Yong Tan wrote:
> On 7/9/12 09:00, Jeremy Lavergne wrote:
>>> gcc[tab][tab] gave me 108 possibilities, none of which applied. I did
>>> a "which gcc" and it gave me:
>>> and that's what gives me version 4.0.1.
>> Sounds like you only have gcc in /usr/bin then. Is it a symlink?
>> ls -l /usr/bin/gcc
> Hmmm, it looks like gcc is a symlink to gcc-4.0.
> There seems to be a whole lot of things in /usr/bin that have both 4.0.1
> and 4.2.1 versions. I'm wondering if I change the symlink to 4.2.1, what
> else will break: Don't the dynamic libraries, etc., also have to match,
> not mention the linker, etc.?
Don't fiddle with the sym links in /usr/bin by hand !! You will for sure
MacPorts doesn't need the compiler to be 'usr/bin/gcc' in order to use
it. It will happily used the versioned binaries in there directly, if
configured to do so.
> macports-users mailing list
> macports-users at lists.macosforge.org
More information about the macports-users