Mail Archives: djgpp/1996/04/17/10:07:38
Xref: | news2.mv.net comp.os.msdos.djgpp:2810
|
From: | Clive Page <cgp AT le DOT ac DOT uk>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Problem with f2c/libI77 and Fortran OPEN
|
Date: | Wed, 17 Apr 1996 10:13:41 +0100
|
Organization: | University of Leicester, UK
|
Lines: | 19
|
Message-ID: | <Pine.SGI.3.91.960417100549.22623A-100000@hawk>
|
NNTP-Posting-Host: | hawk.le.ac.uk
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I have found that f2cx + gcc/DJGPP makes a Fortran system on a PC which
is not only easy to use but produces code which executes faster than
several commercial F77 compilers.
But I have found one minor problem: a Fortran OPEN(STATUS='OLD' does not
return an error status when one tries to open a file which does not exist,
as one would normally expect. The INQUIRE statement, however, does report
correctly on non-existent files. It's clear that the problem lies in the
implementation of OPEN in libI77: I have tried recompiling the whole
library with and without defining MSDOS and NON_UNIX_STDIO but to no
avail. If anyone else has come across this problem and solved it, I'd be
grateful any help.
-------------------------------------------------------------------------
Clive Page, Internet: cgp AT star DOT le DOT ac DOT uk
Dept of Physics & Astronomy,
University of Leicester.
- Raw text -