I use the compiler from the att site.  It does support the arch flags, as they have applied the patches.  They also explicitly state why you should not use the gfortran from the HPC site.  I avoid all MacPorts compilers, as they make some bad packaging mistakes, such as linking against their own version of the c runtimes.<br>
<br>Juan<br><br><div class="gmail_quote">On Wed, Dec 15, 2010 at 5:58 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<a href="http://r.research.att.com/tools/" target="_blank">http://r.research.att.com/tools/</a><br>
<br>
Has a great distribution of gfortran based on each Xcode distribution. It seems to work well with CMake. Not sure about the -arch flag though.<br>
<br>
___________________________________________________________<br>
Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software               Dayton, Ohio<br>
<div><div></div><div class="h5"><br>
On Dec 15, 2010, at 5:56 PM, Convey, Christian J CIV NUWC NWPT, B-171 wrote:<br>
<br>
&gt; Thanks, but a guy on the gfortran mailing list makes it sound like they have no intention to support &quot;-arch x86_64&quot; on the Mac.<br>
&gt;<br>
&gt; I need to find a solution that will work on stock versions of gfortran, unfortunately.<br>
&gt;<br>
&gt;&gt; That probably depends which gfortran you are using on the Mac.<br>
&gt;&gt; I&#39;ve used the -arch flag with gfortran before, and at the time, I<br>
&gt;&gt; thought the<br>
&gt;&gt; only multi-arch gfortran available to download/install took the -arch<br>
&gt;&gt; flag.<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>