[CMake] compile flag on AIX-5.3

Joachim Geiger joachim.geiger at ipp.mpg.de
Thu Mar 27 09:57:07 EDT 2008


Bill Hoffman wrote:
> 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
> 
You hit the mark:
SET( CMAKE_Fortran_FLAGS "-fdefault-real-8")
was inside because of the previous attempt were done with gfortran. So I 
am going to wear sackcloth and ashes.
Thanks, that closes this issue.
Joachim

-- 
Joachim Geiger --------------------------------@\\
Max-Planck-Institute for Plasma Physics,        @\\
   Euratom Association                            \\\
Department Stellaratortheorie (ST)                \\\__
Wendelsteinstr. 1                                (  \\ \
D-17491 Greifswald, Germany                       \_ \\(_
Tel.: ++49 3834/88-2327   Fax: ++49 3834/88-2409    ) \\ \
e-mail: joachim.geiger at ipp.mpg.de                   \  -  |
---------------------------------------------------  \____/


More information about the CMake mailing list