Re: [CMake] F90 and legacy F77

2009-08-20 Thread Brad King
Arjen Markus wrote: I do not think this is going to work: object files created with g77 and gfortran are not compatible as far as I know. What constructs are they? F90/95 has one or two deleted features but most compilers will simply accept them, perhaps grudgingly. [snip] How can this be

Re: [CMake] F90 and legacy F77

2009-08-19 Thread Arjen Markus
Hello James, I do not think this is going to work: object files created with g77 and gfortran are not compatible as far as I know. What constructs are they? F90/95 has one or two deleted features but most compilers will simply accept them, perhaps grudgingly. Regards, Arjen On 2009-08-18

[CMake] F90 and legacy F77

2009-08-18 Thread James C. Sutherland
Is there a way to detect and use both F77 and F90 compilers? I have some legacy F77 code that uses constructs that have been deprecated/removed in F90. I would like to compile those F77 files with a F77 compiler, compile the F90 files with an F90 compiler, and then link them with the F90