This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23815] Add -byteswapio flag
- From: "rrr6399 at futuretek dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 19:20:56 -0000
- Subject: [Bug fortran/23815] Add -byteswapio flag
- References: <bug-23815-7128@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rrr6399 at futuretek dot com 2005-10-11 19:20 -------
Many compilers, like the Intel and PGI ones for instance, simply have a
-byteswap flag that is set at compile time. That way any unformatted data that
is input or output is expected to be switched to Little or Big Endian all the
time. This is typically what we've needed over the years. I haven't really seen
a case to only byteswap certain files. A run time option would work as well as
long as people remember to set the environment variable or whatever.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23815