psearch gfortran
devel/linux-c7-libgfortran Runtime libraries for gfortran (Linux Centos 7.9.2009)
psearch -c lang fortran
lang/lfortran Modern interactive Fortran compiler built on top of LLVM
...
lang/ratfor Rational FORTRAN compiler
--std
switch that allows you to select the standard (you likely want legacy
?).You need to provide a link to the compiler source, at least.So would it be possible to get the ports and packages required for ansi fortran 77 so that if someone wants to use the ansi fortran 77 compiler on freeBSD they can.
yeah this legacy angle is interesting we will try it. to compile it might be: gfortran -std=legacy fn? I don't understand what you mean by(disclaimer: I know nothing about fortran)
Looking at https://gcc.gnu.org/fortran/ and reading gfortran12(1) man page there's a--std
switch that allows you to select the standard (you likely want c?).
You need to provide a link to the compiler source, at least.
--std
Yeah, one too many dashes, sorry. AndI don't understand what you mean by--std
-std=legacy
sounds about right.