From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31398 invoked by alias); 11 Oct 2005 19:20:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31367 invoked by uid 48); 11 Oct 2005 19:20:56 -0000 Date: Tue, 11 Oct 2005 19:20:00 -0000 Message-ID: <20051011192056.31366.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/23815] Add -byteswapio flag In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rrr6399 at futuretek dot com" X-SW-Source: 2005-10/txt/msg01382.txt.bz2 List-Id: ------- 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