User forums > General (but related to Code::Blocks)

Fortran Compiler id's

(1/1)

everSome:
While the "G95 Fortran Compiler" and the "GNU Fortran Compiler" seem to be baked into compilergcc as there is neither a  compiler_g95.xml nor a compiler_gfortran.xml file, the Portland Group, Inc. Fortran compiler does have both a compiler_pgifortran.xml and a options_pgifortran.xml file. I'm guessing the compiler id for G95 is g95 and the GNU Fortran compiler id is gfortran. From options_pgifortran.xml  I see that the executable is pgfortran.exe,
similar to g95.exe but lacks a prefix like mingw32-gfortran.exe has. What I'm trying to wrap my head around is the following: whereas compiler_pgifortran.xml declares:

<CodeBlocks_compiler name="PGI Fortran Compiler"
                     id="pgifortran"
                     weight="96">

I see the following up in plugins/contrib/FortranProject/

makefilegen.cpp:289:    else if (CompilerFactory::CompilerInheritsFrom(buildTarget->GetCompilerID(), "pgfortran"))

projectdependencies.cpp:488:        !CompilerFactory::CompilerInheritsFrom(comID, "pgfortran") &&

I'm wondering if these shouldn't be references to "pgifortran" instead of "pgfortran", or is there some kind of additional processing going on?


Navigation

[0] Message Index

Go to full version