-lcc dynamic missing on latest Mac


Click here for full thread
Gets Around
The test that config/makefile.h uses (line 1014) to detect whether it is needed changes behavior from Intel 16 to Intel 17.

$ icc-16.0 -dM -E - < /dev/null | egrep __VERS | cut -c22|awk ' /3/  {print "N";exit}; /2/ {print "N";exit};{print "Y"}'
Y
$ icc-17.0 -dM -E - < /dev/null | egrep __VERS | cut -c22|awk ' /3/  {print "N";exit}; /2/ {print "N";exit};{print "Y"}'
$ 

$ icc-16.0 -dM -E - < /dev/null | egrep __VERS 
#define __VERSION__ "Intel(R) C++ gcc 4.9 mode"
$ icc-17.0 -dM -E - < /dev/null | egrep __VERS 
$ 


It seems we need to test for Intel 17+ in addition to the _GCC4 test that is there already.