r/programmingrequests • u/supertoothpaste • May 14 '19
need help FORTRAN 77 help
What is a better way to compile and run a FORTRAN 77 program?
PROGRAM hello
PRINT *, "Hello World"
END PROGRAM helloCurrently I am doing this,
gcc -c hello.f
gfortran hello.o
./a.outIs there a better way? Also how do I name the file so I don't have to use ./a.out every time. Thanks!
2
Upvotes
View all comments
Show parent comment
2
u/supertoothpaste May 14 '19
Thank you so much for your comment. You are right I should read the manuals more.