This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/19303] Unformatted record header is 4-bytes on 32-bit targets
- From: "rrr6399 at futuretek dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2005 02:20:34 -0000
- Subject: [Bug libfortran/19303] Unformatted record header is 4-bytes on 32-bit targets
- References: <20050106232657.19303.milan@cmm.ki.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rrr6399 at futuretek dot com 2005-09-12 02:20 -------
FYI: Here's what Intel did for to address the record sizes larger than 2 GB:
http://www.intel.com/software/products/compilers/flin/docs/main_for/mergedProjects/bldaps_for/format_of_record_types_.htm
The nice thing about this approach is that the files are compatible with files
generated by f77/g77 and other vendors' f90/f95 compilers. The tradeoff is that
it makes the i/o logic a little more complicated.
I believe that PGI (Portland Group) compiler generates f77 compliant unformatted
files as well. I haven't found their approach yet for dealing with >2GB record
sizes, but the docs are at http://www.pgroup.com/resources/docs.htm
I'm going to check Cray, SGI and Sun as well to see what format they output.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19303