Next: , Up: Invoking GNU Fortran


2.1 Option summary

Here is a summary of all the options specific to GNU Fortran, grouped by type. Explanations are in the following sections.

Fortran Language Options
See Options controlling Fortran dialect.
          -fall-intrinsics  -ffree-form  -fno-fixed-form 
          -fdollar-ok  -fimplicit-none  -fmax-identifier-length 
          -std=std -fd-lines-as-code  -fd-lines-as-comments 
          -ffixed-line-length-n  -ffixed-line-length-none 
          -ffree-line-length-n  -ffree-line-length-none 
          -fdefault-double-8  -fdefault-integer-8  -fdefault-real-8 
          -fcray-pointer  -fopenmp  -fno-range-check -fbackslash -fmodule-private
     

Error and Warning Options
See Options to request or suppress errors and warnings.
          -fmax-errors=n 
          -fsyntax-only  -pedantic  -pedantic-errors 
          -Wall  -Waliasing  -Wampersand  -Wcharacter-truncation  -Wconversion 
          -Wimplicit-interface  -Wline-truncation  -Wnonstd-intrinsics  -Wsurprising 
          -Wno-tabs  -Wunderflow -Wunused-parameter
     

Debugging Options
See Options for debugging your program or GNU Fortran.
          -fdump-parse-tree  -ffpe-trap=list 
          -fdump-core -fbacktrace
     

Directory Options
See Options for directory search.
          -Idir  -Jdir  -Mdir  -fintrinsic-modules-path dir
     

Link Options
See Options for influencing the linking step.
          -static-libgfortran
     

Runtime Options
See Options for influencing runtime behavior.
          -fconvert=conversion  -frecord-marker=length 
          -fmax-subrecord-length=length  -fsign-zero
     

Code Generation Options
See Options for code generation conventions.
          -fno-automatic  -ff2c  -fno-underscoring
          -fsecond-underscore 
          -fbounds-check  -fmax-stack-var-size=n 
          -fpack-derived  -frepack-arrays  -fshort-enums  -fexternal-blas 
          -fblas-matmul-limit=n -frecursive -finit-local-zero 
          -finit-integer=n -finit-real=<zero|inf|-inf|nan> 
          -finit-logical=<true|false> -finit-character=n