Re: A few quick questions about gfortran under cygwin



Tim Prince wrote:
> ...
> Grab the source version of your choice, follow gcc build instructions at
> gcc.gnu.org. Minimum build is C and f95...

I finally decided to download a copy of gfortran last night. Started with
the cygwin version of the binaries, which have not been updated since march.
Got the 'illegal instruction' error, which was reported in the gfortran mail
archives from around then. (FWIW, the computer I loaded it on has a lowly
Pentium III in it.)

Downloaded the windows version and it actually works - sort of. It doesn't
know about the cygwin dlls, so a lot of my 'system call'ish code does not
easily link up.

Gfortran did compile about 6k lines of that I threw at it. Most not particularly
challenging. However it did find a few non-Standard items in my code that needed
cleaning up, which had previously gone unnoticed. Not going to say what they are,
because otherwise someone associated with gfortran might 'fix' them...

I would really hope the gfortran folk would resist the urge for total
bug/backward-compatibility with g77. Some of those old extensions just
introduce hard-to-find errors into codes. (One example: scanning the email
archives, it seems the mixing of INTEGER/LOGICAL is going to be implemented
soon. This is a true horror which should only be enabled with some sort of
-badly_broken_code option.) IMHO it is better to keep the compiler clean, and
issue diagnostics - by default - than to silently compile known error-prone
'extensions'.

It any event, this is neat. But it seems that if I need a true cygwin version
I need to recompile the gcc world. Maybe kick it off before work today. Sure
would be nice if the gfortran folk would update the cygwin binaries...

Walt
-...-
Walt Spector
(w6ws at earthlink dot net)
.



Relevant Pages

  • Re: Upgrading XP machine to run gcc
    ... The gfortran & gcc wiki pages were very helpful. ... After reviewing some gcc history, I am less confused about gfortran and f95. ... While I've been to the cygwin site, I'm not so clear on how it fits my ... waiting for Mingw to update to gcc 4.2.0, or installing cygwin or linux, or ...
    (comp.lang.fortran)
  • Re: gfortran : unknown functions itime and idate
    ... On a PC with Linux Fedora 4 and gcc 4.1.1, I try to compile with ... gfortran an old program with the following instructions: ...
    (comp.lang.fortran)
  • Re: f77 GONE! HELP
    ... Somebody has deleted these instructions. ... GNU Fortran comes with NO WARRANTY, to the extent permitted by law. ... You should have an operational gfortran by now. ... gcc version 4.0.1 ...
    (comp.lang.fortran)
  • gfortran : unknown functions itime and idate
    ... On a PC with Linux Fedora 4 and gcc 4.1.1, I try to compile with ... gfortran an old program with the following instructions: ...
    (comp.lang.fortran)
  • Re: gfortran: OK, I quit, you win
    ... > gfortran working under Windows. ... let me explain a bit how the GCC and gfortran ... > only distributed as a source code package ready to be build on a Unix ...
    (comp.lang.fortran)