How to reliable detect a MacPorts-ported compiler?

Daniel J. Luke dluke at
Wed Sep 9 07:02:59 PDT 2015

> On Sep 9, 2015, at 12:35 AM, Jeffrey Walton <noloader at> wrote:
>> Again, I have to ask why you want to do this.
> My apologies, I was not trying to be rude. I specifically avoided
> addressing any of these questions because of the bikeshedding
> involved.
>> What problem are you seeing with FSF GCC compiled with MacPorts that you do not see with FSF GCC compiled on a Mac by some other means?
> None that I am aware.
> But that's not the problem I am trying to solve.

the confusion here is that it seems to be that you would be better served in detecting FSF GCC (generally) rather than a macports build of FSF GCC (specifically).

Daniel J. Luke                                                                   
| *---------------- dluke at ----------------* |                          
| *-------------- -------------* |                          
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          

More information about the macports-users mailing list