gcc_select confusion

Neil kngspook at gmail.com
Mon Feb 23 16:55:27 PST 2009


On Mon, Feb 23, 2009 at 5:03 AM, Rainer Müller <raimue at macports.org> wrote:

> Neil wrote:
> > I'm slightly confused as to the *_select naming, particularly for gcc...
> >
> > For example:
> > The built-in python is selected with "python25-apple".
> > The port python25 is selected with "python25".
> >
> > But with gcc_select, "gcc40-apple" refers to the port gcc40-apple...so
> > how do I select between the built-in/Xcode gcc40, the gcc40-apple
> > port, and the vanilla gcc40 port?
>
> It's true, that's quite confusing. This has it's historic reasoning as
> /usr/bin/gcc has ever been the default compiler, so gcc4x actually
> refers to gcc versions provided by Xcode. To select versions installed
> by MacPorts, you need to use mp-gcc4x.
>
>
Should I perhaps open a ticket to standardize it a bit, or are people happy
with the way things are now?

One thought I had, which might make a bit of sense, is to just have a
'system' selection.  Simple, intuitive, uniform, and roughly corresponds
with things like the variant +system_x11.

Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090223/ef834db5/attachment.html>


More information about the macports-dev mailing list