gcc_select
Rainer Müller
raimue at macports.org
Sat Aug 20 10:33:23 PDT 2011
On 2011-08-20 14:45 , Marko Käning wrote:
> Looks like I've found the answer by now on the mentioned wiki page:
> Just adding
> ---
> configure.compiler macports-gcc-4.4
> depends_lib-append port:gcc44
> ---
> seems to be enough to get the port built with the wanted compiler.
>
> So, does this mean, there is no gcc_select command on the command line and all this is only related to a Portfile?
gcc_select is now incorporated in the more generic 'port select'
command. The port only provides the base files necessary for the selection.
I think it could make sense to move those base files into one single
select port to avoid having python_select, gcc_select, etc.
The select functionality only changes symlinks for the user. It does not
influence which version of python, gcc, etc. will be used when building
ports. This has to be set in Portfiles.
Rainer
More information about the macports-dev
mailing list