svn commit: r381535 - head/lang/gcc5

John Marino freebsd.contact at marino.st
Wed Mar 18 22:01:40 UTC 2015


On 3/18/2015 22:49, Gerald Pfeifer wrote:
> On Wed, 18 Mar 2015, John Marino wrote:
>> Modified: head/lang/gcc5/Makefile.DragonFly
>> ==============================================================================
>> +# The following modification to CXXFLAGS is needed in the case of DragonFly
>> +# 4.1+ building lang/gcc5 with the gcc50 base compiler when the system
>> +# libraries were built by the gcc47 base compiler.
> 
> Are these ports really called gcc50 and gcc47 in Dragon-land? 

They aren't ports, they are the values of the CCVER environment variable
that seamlessly switches between the base compilers.

The value is static.  Even if the base compiler is upgraded to 5.1 or
5.2, it will be still be known as gcc50.

The "gcc5" value of CCVER forces selection of the port compiler lang/gcc5.

The gcc version scheme change was pretty pointless (it could have easily
been 5.0.1, 5.0.2, 5.0.3, 6.0.0, 6.0.1, 6.0.2) but that's a different
discussion.  The fallout from the version change has been continuous
though.  It even broke lang/gprbuild, and caused quite a mess with
dports modes to bsd.gcc.mk as 5 < 47.  Just a bad idea.

John


More information about the svn-ports-head mailing list