Re: Need Help: compiling old Fortran program



On Jun 29, 10:08 am, nos...@xxxxxxxxxxxxx (Richard Maine) wrote:


It is quite possible to write Fortran code that does not depend on
specific compilers. Some of us here have done that for multiple decades.
The language does not have such dependence. Some users do. Some of us
here put quite a lot of work into trying to educate people about the
benefits of coding portably. In the end, it has very little to do with
languages, and a lot to do with users. Some languages do more than
others to facilitate or hinder portable coding, but that has never been
the real determining factor.


Maybe as an addenmdum: using the F90 compiler on our Sun workstations
I get through the compiling stage:

==
igam02ws% f90 ./R*.f -c

IF (R(J) .EQ. 0.D0) GO TO 30
^
"./RADINV.f", Line = 540, Column = 36: WARNING: Transfer of control
into the DO loop starting at line 542 is not safe.

f90comp: 1159 SOURCE LINES
f90comp: 0 ERRORS, 1 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
==

Silly question: I always thought gnu compilers are more forgiveable.
As already written my first turn was under a g77 compiler on my
Macintosh.


.



Relevant Pages

  • Re: Integer BASICs "*** NO END ERR"
    ... BTW some compiled languages had both. ... Batch files, Perl and AWK are OK as examples of this, but Javascript is ... two compilers ... Perl compilers as well as compilers for MS-DOS batch files. ...
    (comp.sys.apple2)
  • Re: a dozen cpus on a chip
    ... there are several compilers still available which implement ISO M2. ... By the time the full spec was published most industrial people had moved to other languages for purely commercial reasons. ... Some of the better static analysis tools for Modula2 can see into the program and find very deep faults that would not be found in normal execution. ... It is a common misconception that Lisp is always interpretted. ...
    (sci.electronics.design)
  • Re: what is the most suitable Linux platform for Programmers and software developers
    ... C, C++, Perl, Python, Lisp, and a bunch of other languages are supported ... There are FORTRAN compilers, but FORTRAN ... Look at the Linux ...
    (comp.os.linux.misc)
  • Re: Why forth is not popular
    ... >easily available books anymore. ... Well, looking at higher-level languages (I assume you mean languages, ... not compilers), the Lisp systems I have experienced do pretty much the ... but most programmers prefer plain source files. ...
    (comp.lang.forth)
  • Re: Mainframe vs. Supercomputer
    ... Suitable languages for writing compilers in ... system vendor compilers) portability ... better than Fortran 66, unless you favoured BCPL. ...
    (comp.arch)