How to reliable detect a MacPorts-ported compiler?

Jeffrey Walton noloader at
Mon Sep 7 18:52:32 PDT 2015

>>> Well, that's clang, not gcc.
>> Right, but the APPLE_CC tells me its an Apple port.
> Right: it tells you it is an Apple fork of that compiler.
> MacPorts does not fork things. We package the original thing.

For our purposes (identification), it does not matter.


More information about the macports-users mailing list