This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: big-endian for PPro


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]