GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » CMake and fortran
CMake and fortran [message #6539] Mon, 21 April 2008 11:21 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hello,
here in Gießen we have both gfortran and g77, but it seems cmake enables only and always gfortran:

-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Check for working Fortran compiler: gfortran
-- Check for working Fortran compiler: gfortran -- works
-- Checking whether gfortran supports Fortran 90
-- Checking whether gfortran supports Fortran 90 -- yes


I would like to use only g77. I have tried to search deep in the code, but I have not found where it tries to find the fortran compiler.

So my question is: how can I let my cmake choosing g77 instead of gfortran?

(the answer "remove gfortran" is not allowed...)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in libPGen (DPM)
Next Topic: libPGen pgenerators
Goto Forum:
  


Current Time: Fri Nov 29 09:09:56 CET 2024

Total time taken to generate the page: 0.00866 seconds