Brad, Thanks for your input -- setting it as Catamount was the trick.
Is there a way to use a toolchain file with ccmake? It throws a warning saying it doesn't use the CMAKE_TOOLCHAIN_FILE. If I do it with cmake, everything is fine. Thanks again, Tim ----- Original Message ----- From: "Brad King" <[email protected]> To: "Tim Gallagher" <[email protected]> Cc: [email protected], [email protected] Sent: Tuesday, March 8, 2011 8:28:08 AM Subject: Re: [CMake] Cmake with Cray Fortran 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 _______________________________________________ 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
