compiler_options
returns a string with the options used for compiling.
Inquiry function of the module iso_fortran_env
str = compiler_options()
None.
The return value is a default-kind string with system-dependent length. It contains the compiler flags used to compile the file, which called the compiler_options
intrinsic.
use iso_fortran_env
print '(4a)', 'This file was compiled by ', &
compiler_version(), ' using the options ', &
compiler_options()
end
compiler_version, iso_fortran_env