This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran patch - g77 record markers
- From: bud davis <bdavis9659 at comcast dot net>
- To: Emil Block <blime at cox dot net>
- Cc: fortran at gcc dot gnu dot org
- Date: Tue, 31 May 2005 17:25:41 -0500
- Subject: Re: gfortran patch - g77 record markers
- References: <429C9C82.2040002@cox.net>
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