Previously I had been able to use flycheck for fortran files, but something seems to have broken perhaps during an update.
Mac OSX catalina (latest) gfortran 9.3.0 from homebrew emacs 26.3 from homebrew
When I call
flycheck-select-checker and then select
fortran-gfortran I get the following error buffer:
Syntax checker in buffer test.f90 in f90-mode: fortran-gfortran (disabled) - major mode: `f90-mode' supported - may enable: Automatically disabled! - executable: Not found Flycheck cannot use this syntax checker for this buffer. Flycheck Mode is enabled. Use M-x universal-argument C-c ! x to enable disabled checkers. -------------------- Flycheck version: 32snapshot (package: 20191108.2129) Emacs version: 26.3 System: x86_64-apple-darwin18.2.0 Window system: ns
perhaps relevant is that it cannot find gfortran from within a shell inside emacs, but it is available from a regular mac osx terminal