That would be due to the first two sentences at the beginning of Chapter 2 of 
that document: "The gfortran command supports all the options supported by the 
gcc command. Only options specific to GNU Fortran are documented here."  If 
you're new to compiling, you might want to check out.  The list is long, so 
you'll forgive them for not replicating it needlessly.

http://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html#Overall-Options

Or perhaps less daunting, there are I'm sure bunches of online tutorials.  I 
found (but have not read) this one, which seems to cover the most useful dozen 
or so options:
http://phoxis.org/2009/12/01/beginners-guide-to-gcc/

Derek

On Apr 23, 2013, at 4:19 PM, Murray Eisenberg wrote:

> 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 <[email protected]> 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                     [email protected]
> 80 Fearing Street                      phone 413 549-1020 (H)
> Amherst, MA 01002-1912
> 
> 
> 
> 
> 
> _______________________________________________
> macports-users mailing list
> [email protected]
> https://lists.macosforge.org/mailman/listinfo/macports-users
> 

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to