How use gfortran from gcc47 port?
Murray Eisenberg
murrayeisenberg at gmail.com
Tue Apr 23 15:19:49 PDT 2013
Yep, sorry about the missing initial indent character.
Thanks for the additional tip, about the "-o" option which, like invoking the compiler itself, I couldn't find in the on-line "Using GNU Fortran"!
On Apr 23, 2013, at 5:29 PM, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
> 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 !
>
---
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