------- 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