9.69 COMPILER_OPTIONS — Options passed to the compiler
- Description:
- 
COMPILER_OPTIONSreturns 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_OPTIONSintrinsic.
- Example:
- 
use iso_fortran_env print '(4a)', 'This file was compiled by ', & compiler_version(), ' using the options ', & compiler_options() end
- See also:
    © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
    https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gfortran/COMPILER_005fOPTIONS.html