How use gfortran from gcc47 port?
Murray Eisenberg
murrayeisenberg at gmail.com
Tue Apr 23 14:12:29 PDT 2013
I've installed the port gcc47 @4.7.3. Now how do I use it to compile a FORTRAN program. E.g., suppose I have file "sum.f":
==================================
program sum
implicit none
real a,b,s
c
print *, ' Type two numbers:'
read *, a, b
s = a + b
print *, s
stop
end
================================
What exactly do I type at the Terminal command line to compile that, and what kind of name do I give for the output file (sum.bin or sum.cmd or what?)
---
Murray Eisenberg murrayeisenberg at gmail.com
80 Fearing Street phone 413 549-1020 (H)
Amherst, MA 01002-1912
More information about the macports-users
mailing list