Hi, When CMake is built with SolarisStudio 12.4, cmake tool is unusable. Even the most simple test failed at generation time!
This simple CMakeLists.txt cmake_minimum_required (VERSION 3.3.2) project (Test LANGUAGES CXX) Generates the following error: -- The CXX compiler identification is SunPro 5.13.0 -- Check for working CXX compiler: /opt/solarisstudio12.4/bin/CC CMake Error: CMake can not determine linker language for target: cmTC_d9073 CMake Error: Cannot determine link language for target "cmTC_d9073". CMake Error: Internal CMake error, TryCompile generation of cmake failed -- Check for working CXX compiler: /opt/solarisstudio12.4/bin/CC -- broken CMake Error at /usr/u/i051466/INSTALL/share/cmake-3.3/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "/opt/solarisstudio12.4/bin/CC" is not able to compile a simple test program. It fails with the following output: CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:4 (project) -- Configuring incomplete, errors occurred! See also "/usr/u/i051466/tests/cmake/build/CMakeFiles/CMakeOutput.log". See also "/usr/u/i051466/tests/cmake/build/CMakeFiles/CMakeError.log". Unfortunately, there is absolutely nothing in the CMakeError.log file! I have no real idea what is the problem but here are some elements: * Same CMake sources (3.3.2) built with SolarisStudio !2.2 (C++ 5.11) produce a perfectly usable cmake * When SolarisStudio 12.4 is used (C++ 5.13), I notice that cmake bootstrap tool select the most advanced mode of the compiler (I.e. c++11). * May be the problem is linked to the fact that, currently, C++11 mode support is broken for SolarisStudio 12.4 (see a previous mail sent by me on this subject) because if CMake rely on this mode internally for its tests, for sure all will failed. Marc
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers