port select --set gcc not symlinking `cc` command

Ryan Schmidt ryandesign at macports.org
Wed Oct 14 09:30:20 UTC 2020


On Oct 13, 2020, at 08:38, Ruben Di Battista wrote:

> I just passed a week to solve a compiler error
> (https://github.com/mutationpp/Mutationpp/issues/143#issuecomment-707742157)
> associated to the fact that when selecting GCC as compiler with
> Macports, the `cc` command does not get symlinked.
> 
> Is this a feature or it is a bug?

It is intentional that "sudo port select gcc" does not symlink cc.

https://trac.macports.org/ticket/30434

It is a bug that "sudo port select gcc" symlinks c++.

https://trac.macports.org/ticket/48647



More information about the macports-users mailing list