COMPILER_OPTIONS(3f)

DESCRIPTION
COMPILER_OPTIONS returns a string with the options used for compiling.

STANDARD
Fortran 2008

CLASS
Inquiry function of the module ISO_FORTRAN_ENV

SYNTAX
STR = COMPILER_OPTIONS()

ARGUMENTS
None.

RETURN VALUE
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.

EXAMPLE
             use iso_fortran_env
             print '(4a)', 'This file was compiled by ', &
                        compiler_version(), ' using the options ', &
                        compiler_options()
             end

SEE ALSO
COMPILER_VERSION, ISO_FORTRAN_ENV

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).