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: gfortran patch - g77 record markers


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




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