This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: big-endian for PPro
- To: ulf at aero dot tu-darmstadt dot de, egcs at cygnus dot com
- Subject: Re: big-endian for PPro
- From: N8TM at aol dot com
- Date: Thu, 18 Jun 1998 21:58:11 EDT
In a message dated 6/18/98 7:47:36 AM Pacific Daylight Time, ulf@aero.tu-
darmstadt.de writes:
(wanting big-endian binary data files from i686)
I believe that the binary data files used by SGI have their bytes fully
reversed from the order used by Intel processors, even though that's not the
internal order used by SGI CPU's. Also, there is a difference between SGI
Fortran binary data files and portable C-compatible binary files. There is a
user-written C program which performs that conversion without needing to know
data types. Some versions of SGI Fortran, but not current ones, had an option
to open binary files in SYSTEM (C compatible) format. So there are several
vendor-dependent issues to deal with. There isn't a lot more inefficiency in
piping an ASCII data file through gzip, and that should avoid the vendor
dependencies.