COMPILER_OPTIONS
— Options passed to the compilerCOMPILER_OPTIONS
returns a string with the options used for
compiling.
ISO_FORTRAN_ENV
STR = COMPILER_OPTIONS()
COMPILER_OPTIONS
intrinsic.
use iso_fortran_env print '(4a)', 'This file was compiled by ', & compiler_version(), ' using the options ', & compiler_options() end