[R-SIG-Mac] new compilers from Apple

Jan de Leeuw deleeuw at stat.ucla.edu
Tue Oct 27 18:48:29 CET 2009


Yes. Here is part of the bash profile

export CC=/Developer/usr/bin/llvm-gcc
export CXX=/Developer/usr/bin/llvm-g++
export OBJC=/Developer/usr/bin/llvm-gcc
export F77=/usr/local/bin/gfortran
export FC=/usr/local/bin//gfortran
export CFLAGS="-std=gnu99 -m64 -O4 -Wall -fopenmp -mtune=native"
export CXXFLAGS="-m64 -O4 -Wall -fopenmp -mtune=native"
export OBJCFLAGS="-std=gnu99 -m64 -O4 -Wall -fopenmp -mtune=native"
export FFLAGS="-m64 -O4 -Wall -fopenmp -mtune=native"
export FCFLAGS="-m64 -O4 -Wall -fopenmp -mtune=native"
export LDFLAGS="-m64 -fopenmp"

I haven't done any timing comparisons (yet).

-- Jan



On Oct 27, 2009, at 10:39 , John C. Tull wrote:

> Do you pass these along in a Terminal session, assuming BASH shell, via a series of export commands?

===
Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of Statistics;
Director: UCLA Center for Environmental Statistics (CES);
Editor: Journal of Multivariate Analysis, Journal of Statistical Software;
US mail: 8125 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
.mac: jdeleeuw ++++++  aim: deleeuwjan ++++++ skype: j_deleeuw
homepages: http://gifi.stat.ucla.edu ++++++ http://www.cuddyvalley.org
 -------------------------------------------------------------------------------------------------
          No matter where you go, there you are. --- Buckaroo Banzai
                   http://gifi.stat.ucla.edu/sounds/nomatter.au                                  
 -------------------------------------------------------------------------------------------------        



More information about the R-SIG-Mac mailing list