[PATCH] Let the default compiler be configurable

Arno Hautala arno at alum.wpi.edu
Thu Jun 9 15:44:16 PDT 2011

On Thu, Jun 9, 2011 at 17:07, Jeremy Huddleston <jeremyhu at macports.org> wrote:
> I assumed that this was already possible and was amazed that it wasn't... with this patch, one can set "compiler" in $prefix/etc/macports.conf to choose a default compiler.
> Thoughts?

What's the use case for wanting to select a compiler like this? It
seems that this would be better left to the requirements of an
individual port.

The other case that does come to mind is a larger set of changes that
would allow a user to run independent of Xcode [1], but that seems
like it would require a huge amount of change.

[1]: I keep meaning to bring up that this is probably something that
will need to be addressed soon. It seems to me that future versions of
Xcode are going to only be offered through the App Store. With Lion
being MAS only and Lion Server a $50 add-on, I doubt Apple will
release Xcode 4 for free. Even if version 3 remains freely available,
I imagine ports will begin to require newer tool chains. But, I don't
want to derail this thread, further comments should fork off in a new

arno  s  hautala    /-|   arno at alum.wpi.edu

pgp b2c9d448

More information about the macports-dev mailing list