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: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 19:37:30 -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 #7 from tkoenig at gcc dot gnu dot org 2005-10-11 19:37 -------
(In reply to comment #6)
> Many compilers, like the Intel and PGI ones for instance, simply have a
> -byteswap flag that is set at compile time.
ifort actually uses -convert big_endian or -convert little_endian to
supply defaults. This is better than specifying byteswapping,
because it is (if set) platform-independent.
We could also use environment variables the same way that ifort
does.
Three ways to specify the same thing... but I think there's a need
for that.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23815