gfortran patch - g77 record markers

bud davis bdavis9659@comcast.net
Tue May 31 22:25:00 GMT 2005


Emil Block wrote:

> Question from an interested user with lack of experience with compiler 
> development --
> why is the record marker different for gfortran and g77 ?  The only 
> answer I have been able to find is that a change was made from a 32 
> bit to 64 bit record marker.  What am I missing?
>
> blime
>
it was my fault.  i ignored g77 compatibility in my desire to make the 
perfect implementation.

g77 uses the size of a 'long'.
gfortran uses offset_t, which is the size of the largest file offset 
supported by the OS.  { nowdays, this is 64 bit on most unix'es }

i thought offset_t was the perfect solution, the record marker would 
always support the largest possible file on the OS it was built on.


and here we are today :)


--bud




More information about the Fortran mailing list