I was wondering if anyone has a quick way of testing the flang
compiler (on Linux)? I wanted to add it as one of the linting compilers for Modern Fortran in VS Code which means that I have to use it and reverse engineer the diagnostic messages of the compiler. To be clear I am referring to flang
previously known as f18
and not flang-7
.
My go-to online testbed, https://godbolt.org/, does not have a working version of flang, see. I am installing flang from source as I make this post but IMO it shouldn’t be that complicated or time consuming to install a compiler.
This leads me to my other question; do you think flang
(previously f18
) should even be one of the available linting compilers for VS Code given how unlikely it is for non-technical users to be using it?