Khubunku
Khubunku

Reputation: 79

Is Fortran 77 supported by GNU gfortran?

I have come across a book which contains code written in Fortran 77. I wanted to compile and test some of them, and was wondering how well GNU gfortran supports legacy Fortran. I have Ubuntu 14.04 operating system.

Upvotes: 0

Views: 3296

Answers (1)

t3dodson
t3dodson

Reputation: 4007

Yes gfortran allows for fortran 77 see the docs standard compile options should work but may give warnings. you can set the flag

-std=legacy 

to disable warnings that are caused from fortran77 features.

Upvotes: 1

Related Questions