On 2010-03-23 09:29-0700 Alan W. Irwin wrote: > On 2010-03-23 09:21+0100 Arjen Markus wrote: > >> Hi, >> >> some further testing revealed that the file "Windows-GNU-Fortran.cmake" >> is not used at all by CMake. I inserted a bogus command and expected >> CMake to complain but it did not.
> Meanwhile, I will try an experiment here to see whether access to PLplot > versions of Fortran Platform files works on Linux with CMake-2.6.4. I cannot confirm the above issue on Linux. Here is what I did to test that: I copied the CMake-2.6.4 version of Linux-GNU-Fortran.cmake to the appropriate location in our build system and inserted a message. Here is the diff between the two. softw...@raven> diff -au ~/cmake/install-2.6.4/share/cmake-2.6/Modules/Platform/Linux-GNU-Fortran.cmake cmake/modules/language_support/cmake-2.6/Platform/ --- /home/software/cmake/install-2.6.4/share/cmake-2.6/Modules/Platform/Linux-GNU-Fortran.cmake 2009-04-28 13:22:59.000000000 -0700 +++ cmake/modules/language_support/cmake-2.6/Platform/Linux-GNU-Fortran.cmake 2010-03-23 11:21:01.000000000 -0700 @@ -5,6 +5,7 @@ SET (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os") SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3") SET (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") +message(STATUS "DEBUG: using the PLplot CMake-2.6 version of Fortran support") IF(NOT APPLE) SET (CMAKE_INCLUDE_SYSTEM_FLAG_Fortran "-isystem ") If I then did a normal PLplot build with cmake-2.6.4 that message got printed (twice because of our soft-landing system for compilers) to the cmake.out file. So fundamentally our build system is fine, and there must be some platform-specific reason why you are not accessing the PLplot version of Windows-GNU-Fortran.cmake. Now that result has been established, the further debugging of this issue on Windows should be straightforward. I suggest you temporarily insert message statements in cmake/modules/language_support/cmake-2.6/CMakeFortranInformation.cmake first to make sure that file is being used on Windows, and second to test why the existence tests there for the PLplot version of Windows-GNU-Fortran.cmake are not being satisfied. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel