<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I've tried the MacPorts route, and it takes forever. &nbsp;Perhaps this is a MacPorts problem, but I've found that it consumes all available system resources as it compiles all possible dependencies before even getting to the compilation of gcc.</div><div><br></div><br><div><div>On Apr 7, 2011, at 12:34 AM, Davor Cubranic wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On April 6, 2011 07:49:32 pm Michael Braun wrote:<br><blockquote type="cite">I've been able to upgrade my compiler to g++ 4.6 on the Mac, and I also<br></blockquote><blockquote type="cite">checked this on a Red Hat Linux system with g++ 4.4. &nbsp;In both cases, the<br></blockquote><blockquote type="cite">OpenMP code does compile and run, so I agree that it must have been a<br></blockquote><blockquote type="cite">compiler issue. &nbsp;However, 4.6 appears to be an experimental version, with<br></blockquote><blockquote type="cite">some odd quirks (like not recognizing the -arch option). &nbsp;I was able to<br></blockquote><blockquote type="cite">find only a binary for 4.6, and compiling 4.5 takes a very, very long<br></blockquote><blockquote type="cite">time. &nbsp;So I'm wondering if you could suggest a source for a binary of a<br></blockquote><blockquote type="cite">stable version of gcc for the Mac, or possibly suggest a way that Rcpp<br></blockquote><blockquote type="cite">could run under the compiler that ships with Snow Leopard.<br></blockquote><br>MacPorts has a wide range of versions of GCC: 4.4, 4.5, and 4.6 are all there. <br>See <a href="http://www.macports.org/ports.php?by=name&amp;substr=gcc">http://www.macports.org/ports.php?by=name&amp;substr=gcc</a><br><br>Davor<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-------------------------------------------<br>Michael Braun<br>Homer A. Burnell (1928) Career Development Professor,&nbsp;<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>and Assistant Professor of Management Science (Marketing Group)<br>MIT Sloan School of Management<br>100 Main St.., E62-535<br>Cambridge, MA 02139<br><a href="mailto:braunm@mit.edu">braunm@mit.edu</a><br>617-253-3436</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>