This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: old libg2c intrinsics (ltime, fseek, ftell, fputc, etc.)


On Thu, Aug 25, 2005 at 12:50:24PM -0400, Bryan Irby wrote:
> Hi,
> 
> I have the dubious honor of managing a large system of software which
> includes a fair amount of ancient/legacy fortran code.  Trying to keep
> up with the times, we're working to get it all compiling with gfortran/g95,
> (currently it's okay with f90 or g77), and have not surprisingly run into
> a number of problems.  One of these problems is that some of the code uses
> instrinsics defined in the old libg2c (ltime, fseek, ftell, fputc, fgetc),
> and these are evidently no longer available.  Mainly I'm now looking for
> some official confirmation a) that this is indeed the case, b) whether
> these functions will be reinstated at some point, and c) whether there
> are similar existing functions that might be used instead.
> 

This is PR 19292.  The answers to your questions are: a) yes, b) yes,
c) Don't know.

Adding intrinsic procedures is one of the easier modifications
to make to gfortran due to the enormous number of examples
already present (ie., copy -> paste -> edit -> compile).
If you don't mind getting your hands dirty, this is an area
where contributions would be welcomed.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]