gfortran
Preprocess and compile Fortran source files, then assemble and link them together. More information: https://gcc.gnu.org/onlinedocs/gfortran/Invoking-GNU-Fortran.html.
- Compile multiple source files into an executable:
gfortran -o
- Show common warnings, debug symbols in output, and optimize without affecting debugging:
gfortran -Wall -g -Og -o
- Include libraries from a different path:
gfortran -o -I -L -l
- Compile source code into Assembler instructions:
gfortran -S
- Compile source code into an object file without linking:
gfortran -c
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
