Originally posted by david-nk
View Post
From the LLVM 12 release notes:
"Flang is able to parse a comprehensive subset of the Fortran language and check it for correctness. Flang is not yet able to generate LLVM IR for the source code and thus is unable to compile a running binary.
(...)
By default, Flang will parse the Fortran file hello.f90 then unparse it to a canonical Fortran source file. Flang will then invoke an external Fortran compiler to compile this source file and link it, placing the resulting executable in hello.bin.
To specify the external Fortran compiler, set the F18_FC environment variable to the name of the compiler binary and ensure that it is on yourPATH. The default value for F18_FC is gfortran."
Comment