/usr/share/gprconfig/fortran.xml is in gprbuild 2014dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | <?xml version="1.0" ?>
<gprconfig>
<!-- This package provides the default standard options for a g77
Fortran compiler -->
<configuration>
<compilers>
<compiler name="G77" language="Fortran" />
<compiler name="GCC-CYGMING" language="Fortran" />
</compilers>
<config>
package Naming is
for Body_Suffix ("Fortran") use ".f";
end Naming;
package Compiler is
for Driver ("Fortran") use "${PATH(fortran)}g77";
for Leading_Required_Switches ("Fortran") use
Compiler'Leading_Required_Switches ("Fortran") &
("-c", "-fno-underscoring");
for Include_Path ("Fortran") use "CPATH";
end Compiler;
</config>
</configuration>
<!-- in cygminw mode, make sure that the option -mno-cygwin is used -->
<configuration>
<compilers>
<compiler name="GCC-CYGMING" language="Fortran" />
</compilers>
<config>
package Compiler is
for Leading_Required_Switches ("Fortran") use
Compiler'Leading_Required_Switches ("Fortran") & ("-mno-cygwin");
end Compiler;
</config>
</configuration>
<!-- Configuration for GFortran: the GCC fortran 95 compiler -->
<configuration>
<compilers>
<compiler name="GFORTRAN" language="Fortran" />
<compiler name="GCC-MINGW32" language="Fortran" />
</compilers>
<config>
package Naming is
for Body_Suffix ("Fortran") use ".f";
end Naming;
package Compiler is
for Driver ("Fortran") use "${PATH(fortran)}gfortran${PREFIX(fortran)}";
for Leading_Required_Switches ("Fortran") use
Compiler'Leading_Required_Switches ("Fortran") &
("-c", "-fno-underscoring");
for Include_Path ("Fortran") use "CPATH";
end Compiler;
</config>
</configuration>
<!-- Additional switches needed on some platforms -->
<configuration>
<compilers>
<compiler name="G77" language="Fortran" />
</compilers>
<targets negate="true">
<target name="^.*LynxOS.*$" />
<target name="^.*pentium-mingw.*$" />
<target name="^.*cygwin.*$" />
<target name="^.*dec-osf.*$" />
</targets>
<config>
package Compiler is
for PIC_Option ("Fortran") use ("-fPIC");
end Compiler;
</config>
</configuration>
</gprconfig>
|