[CMake] Cmake with Cray Fortran
Brad King
brad.king at kitware.com
Tue Mar 8 08:28:08 EST 2011
On 03/07/2011 09:54 PM, Tim Gallagher wrote:
> How can I get it to drop the -rdynamic option?
That option appears because the host system name is probably Linux on which
that option is supported. You need to set up a cross-compiling toolchain
file that sets the correct name of the target platform:
http://www.cmake.org/Wiki/CMake_Cross_Compiling
CMake comes with a "Catamount" platform file that should work for newer Cray
machines too. Set CMAKE_SYSTEM_NAME to "Catamount" in your toolchain file
to use it.
-Brad
More information about the CMake
mailing list