delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/08/05:57:44

Date: Fri, 8 Jan 93 11:32:56 +0100
From: <Peter DOT Rojsel AT maxlab DOT lu DOT se>
Subject: Re: f2c/djgcc/(microsoft) fortran
To: djgpp AT sun DOT soe DOT clarkson DOT edu

Osman F Buyukisik writes:
>I have a fortran program that when translated and compiled with djgcc
>runs. But, one of the outputs from the program is a direct access
>binary file which seems to be incompatible with microsoft fortran!
>Is this a bug in f2c? (Another fortran program compiled & linked
>with microsoft fortran needs to read that direct access file)!
>thanks.

I have had similar problems. My converted fortran program is so old that 
it uses a minimum of memory, and uses a temporary file for storage. This 
should work fast with the disc-caching programs of today. Although the 
converted program can not read what itself wrote on the disk. 
If I use Microsoft fortran the program works perfectly. I have not solved 
the problem, and will probably not find the time to do so either. (We have 
a Unix box that can run the program fast and well.) 
The closest (?) I got is that something in the way Microsoft / f2c treats 
bogus carriage control characters e.g. $ and so on is different from 
Microsoft fortran, and other fortran compilers that I have used.

Peter Rojsel <Peter AT MAX-lab DOT lu DOT se>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019