RFC: Renaming GCC ports and variants

Ryan Schmidt ryandesign at macports.org
Wed Oct 1 11:13:12 PDT 2014

On Oct 1, 2014, at 12:48 PM, Sean Farley wrote:

> Proposal:
> Since it seems that we are flat-out disallowing gcc being used as a
> C/C++ compiler, I think it's time to do some clean up of the code:
> 1) Rename gccXY to gcc-X.Y

As I proposed earlier, we might want to avoid using a dash in a port name, because it is nice to have the port name and variant name be the same, therefore I proposed gccX.Y instead of gcc-X.Y. However, renaming existing ports is a pain, and going forward new versions of gcc starting with gcc5 will just have a single major version number so no change would be necessary there.

> 2) Rename +gccXY variants to +gfortranXY

Note that some ports use gcc variants not for fortran support but for java support. I'm thinking here of my much-neglected pdftk port, though for that I may just remove the variants and use a single known-good java compiler.

> 3) Start moving away from configure.compiler=macports-gcc*

We started this already last year when Mavericks was released.

More information about the macports-dev mailing list