using a different compiler with macports
comptekki at gmail.com
Thu Feb 21 22:30:55 PST 2008
On Thu, Feb 21, 2008 at 7:29 PM, Rainer Müller <raimue at macports.org> wrote:
> 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?
I have a professor that is using the pgi compiler
(http://www.pgroup.com/) and i was trying to find a way to set CC=pgcc
and CXX=pgcpp and maybe some other things for macport to use for
compiling as defaults.
More information about the macports-users