cancel
Showing results for 
Search instead for 
Did you mean: 

Newcomers Start Here

bigdogdan2
Journeyman III

Fortran Flang compile using F77 and F2008

When using Flang, how can I specify to use F77 or F2008?

I am expecting something like this (similar to clang)  but it doesn't seem to be the right syntax or parameters.  If I throw anything in -std=xxx it works.

flang -std=f77 helloworld.f -o helloworld

0 Likes
1 Reply
rountree
Journeyman III

A bit late to the party, and I don't speak for AMD, but you might want to look at
Compiler Option Comparison. The "-std" looks to be a gnu option that has only been implemented to the extend that it won't raise a warning.

0 Likes