using a different compiler with macports

Rainer Müller raimue at macports.org
Thu Feb 21 18:29:11 PST 2008


Wes James wrote:
> I'm trying to find the config file in macports to change the CC and 
> CXX default parameters that configure uses when it is run on each 
> package.  Can someone help me with this.

Not that easily possible, it is absolutely centered on using gcc.
But there is the port gcc_select which allows you to maintain certain 
symlinks for gcc, g++, etc. Additionally, each port is free to choose 
another compiler subset (because it might require it).

What exactly are you trying to do?

Rainer


More information about the macports-users mailing list