[CMake] compile flag on AIX-5.3

Bill Hoffman bill.hoffman at kitware.com
Thu Mar 27 09:44:43 EDT 2008


Joachim Geiger wrote:

> 
> //No help, variable specified on the command line.
> CMAKE_Fortran_COMPILE_FLAGS=-qrealsize:UNINITIALIZED=8
> 
> //Flags for Fortran compiler.
> CMAKE_Fortran_FLAGS:STRING=-qrealsize=8
> 
> So I did not know what to fix there.
> However, in the files flags.make and link.txt in the project directory I 
> see the string -fdefault-real-8 . If I edit these, then everything work 
> fine up to the linking process, but there I am facing a problem not 
> related to cmake.
> Best regards,
> Joachim
> 
Can you post your CMakeCache.txt and the flags.make file?  Also, it 
would be good if you could post the CMakeLists.txt file you are using. 
CMake does not have -fdefault-real-8 anywhere in it.  If it is not in 
your cache file, then it must be set inside the CMakeLists.txt files.

-Bill



More information about the CMake mailing list