------- Additional Comments From rrr6399 at futuretek dot com  2005-09-11 04:07 
-------
I just found this discussion:
http://gcc.gnu.org/ml/fortran/2005-05/msg00431.html

It doesn't look like from the docs that it was implemented in the main-line yet,
is it available somehow else?

It seems to me that unformatted files on 32 bit machines should be compatible.
I don't know of any other fortran compiler that assumes 64 bit record markers. 
We really need a flag to change the behavior if it is not available already.

BTW, it is pretty typical that aero engineers involved in CFD (computational
fluid dynamics) need to ship around large (50-1000 MB) binary files between
various machines without having to reformat them. Typically they generate files
that are all big-endian using a compiler switch to avoid having to byte swap as
well. So, while we're at it, it'd be great to have a compiler switch that
reversed the byte order of integers (2, 4, 8 byte) and floating point numbers
(4, 8 byte) when they are read from or written to an unformatted file.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23814

Reply via email to