[Rcpp-devel] Mac problem (possibly not Rcpp's fault)

Simon Urbanek simon.urbanek at r-project.org
Tue Apr 5 21:39:57 CEST 2011

On Apr 5, 2011, at 3:24 PM, Jay Emerson wrote:

> Is there some possibility 4.2 might be included in addition to 4.0,
> but that 4.0 could be the default behavior?

Xcode 3.1.x has definitely both. Unless they messed around with the installation, g++-4.2 will always call gcc 4.2 and g++-4.0 will call gcc 4.0. The only question is which is default and you can change the default (e.g. via gcc_select or directly with the symlinks). What I don't remember is what is the default in which version - and I think it may also depend on whether you upgraded or not - but I just don't remember it's been too long ;).


>  This might be consistent
> with the following email from my student (though it's also possible
> that she did some installation improperly).  I'm starting to think I
> ought to have a Mac in my office to play around with.  !-)
> ---------------------
> It seems i have g++4.2 on my mac.
> dhcp128036180037:R-2.12.2 Grace$ /Developer/usr/bin/g++-4.2
> i686-apple-darwin9-g++-4.2.1: no input files
> But, still, seems does not call by g++ --version.
> dhcp128036180037:R-2.12.2 Grace$ g++ --version
> i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> I double checked I indeed have "Xcode 3.1.3", unless it's a fake name
> or I did not install correctly. I installed the XcodeTools package and
> later the gcc4.2 package.
> -- 
> John W. Emerson (Jay)
> Associate Professor of Statistics
> Department of Statistics
> Yale University
> http://www.stat.yale.edu/~jay

More information about the Rcpp-devel mailing list