How use gfortran from gcc47 port?

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Apr 23 14:29:39 PDT 2013


Hi,

> What exactly do I type at the Terminal command line to compile that,

> gfortran-mp-4.7 sum.f

> and what kind of name do I give for the output file (sum.bin or sum.cmd or what?)

The above will create the default 'a.out' for you. To control that, use the -o option.

cheers Chris

p.s. The code you posted does not compile as is - It needs one more character indent per line !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130423/314a61e7/attachment.p7s>


More information about the macports-users mailing list