R: Re: HELP with GFORTRAN, XCODE and TERMINAL_MAc
FX
fxcoudert@gmail.com
Fri Aug 1 09:01:00 GMT 2014
> 1. When I type "gcc" in my terminal, it says: "clang: error: no input files".
So you have the command line compiler tools properly installed.
> 2. I think yes. When I open the dog file, it gives me a pck file, I click on
> this and after some minutes it says that installation is ok. Everything is done
> at this point. it is right?
Yes.
> 3. If I type "gfortran", It says:gfortran: fatal error: no input files
> compilation terminated.
So gfortran appears to have installed properly. You can now compile a simple Fortran program, saved in file cosa.f90, but typing "gfortran cosa.f90 -o cosa.exe". And you can then run the executable by typing "./cosa.exe". Both will work if your terminal shell is in the proper directory (for testing, do it in your home directory, as that's the one the gherkin so opens in by default).
It seems to me that your problems really are more related to getting used to the Terminal.
I suggest you go through one or two tutorials on Terminal, which should get you started properly.
Cheers,
FX
PS: please keep the mailing list in Cc in your replies, so others can also chime in
More information about the Fortran
mailing list