Hi folks,
I am trying to add a couple of extra compiler options to the GNU Fortran Compiler, so have added the following section to options_gfortran.xml:
<Category name="Misc">
<Option name="Do not append underscores to names of entities specified in the Fortran source file"
option="-fno-underscoring"/>
<Option name="Use a different function-calling convention"
option="-mrtd"/>
</Category>
It does not appear that this is being picked up when I re-start C::B (Windows v16.01).
Can anyone help sort out what might be wrong? There does not appear to be a separate Compiler File (compiler_*.xml) specifically for gfortran, and it appears that the options_gfortran.xml file is being ignored.
Many thanks,
Dr. Matt...
Somewhere next to the default.conf file. It is some xml file.
Many thanks, I found it now, a modified options_gfortran.xml file is in my AppData folder, not with the main application files.
In keeping with the style of that file, I added the following two lines:
<Option name="Do not append underscores to names of entities specified in the Fortran source file" option="-fno-underscoring" category="Misc"/>
<Option name="Use a different function-calling convention" option="-mrtd" category="Misc"/>
...and the two options now appear in their own 'Misc' category as expected.