I am trying to read the binary files produced with amd64 on a 32 bit machine. This is not possible because the record header changed from 4-bytes to 8-bytes. Can this be fixed? Example program:
write(1)'Z' end produces fort.1 on opteron with the following content if opened in emacs: [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ But it produces: [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ on 32 bit machine or using -m32 on opteron. I beleive this is libfortran bug or feature, but I still thing the files should be readable across the platforms, or there should be some compile time option for this. I hope this is not against some stupid standard :-( -- Summary: Opteron problem when writing binary files: 8-byte record header instead of 4-byte record header Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: milan at cmm dot ki dot si CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19303