Skip to content
Back to formatted view

Raw Message

Message-ID: <201104062134.57445.cubranic@stat.ubc.ca>
Date: 2011-04-07T04:34:57Z
From: Davor Cubranic
Subject: [Rcpp-devel] OpenMP and Rcpp - compiler error
In-Reply-To: <6F37F25B-5312-447E-95CF-EAFC2A59338F@mit.edu>

On April 6, 2011 07:49:32 pm Michael Braun wrote:
> I've been able to upgrade my compiler to g++ 4.6 on the Mac, and I also
> checked this on a Red Hat Linux system with g++ 4.4.  In both cases, the
> OpenMP code does compile and run, so I agree that it must have been a
> compiler issue.  However, 4.6 appears to be an experimental version, with
> some odd quirks (like not recognizing the -arch option).  I was able to
> find only a binary for 4.6, and compiling 4.5 takes a very, very long
> time.  So I'm wondering if you could suggest a source for a binary of a
> stable version of gcc for the Mac, or possibly suggest a way that Rcpp
> could run under the compiler that ships with Snow Leopard.

MacPorts has a wide range of versions of GCC: 4.4, 4.5, and 4.6 are all there. 
See http://www.macports.org/ports.php?by=name&substr=gcc

Davor