Clicky

Fortran Wiki
compiler_options

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

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

category: intrinsics

Created on April 4, 2016 00:38:52 by Jason Blevins (173.88.47.127) (850 characters / 0.0 pages)
Edit | Views: Print | TeX | Source | Linked from: Intrinsic procedures, iso_fortran_env, compiler_version

AltStyle によって変換されたページ (->オリジナル) /