On 3/27/2013 9:48 PM, William Clodius wrote:
I have been developing Fortran 2003 code on a Mac system. Because
Xcode comes with a very old version of gcc its Fortran compiler has
poor support for newer versions of Fortran, so I have been using
newer versions of gcc installed using Mac Fink, and run from either
the terminal application, or the X-Windows application (now XQuartz).

Start with an empty directory:

export FC= /sw/bin/gfortran
export CC=/sw/bin/cc
export CXX=/sw/bin/c++

cmake -G"Unix Makefiles" ../path/to/source

-Bill

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to