Article View: gnu.gcc.help
Article #52358binary data on SUN and MSDOS
From: Christopher Matthews Keane
Date: Fri, 27 Nov 1992 23:00
Date: Fri, 27 Nov 1992 23:00
18 lines
1460 bytes
1460 bytes
I hope this isn't a totally dodo question.... but I am trying to optimize USGS DEM data files for use in one of my programs. I want to use binary data in the format. I can successfully record and read the binary format data using the program compiled on a SUN SS1+ using GCC 2.2.2 and using the exact same source, can do it using the MSDOS DJGPP GCC. The files generated on the SUN and the MSDOS platforms have the exact same file size and everything else appears to match well - sizeof() etc..... But, when I take a binary file done on the SUN and transfer it to DOS and try to read it - no luck - and vice versa. I am having to assume this is a file system problem - but what exactly is the nature of the problem --- any possible fixes? I want to use the SUN for the data crunching if possible.... Thanks in advance. Chris Christopher Keane keane@earthsun.umd.edu
Technical Details
Message-ID:
<1992Nov27.230027.13734@eng.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!darwin.sura.net!mojo.eng.umd.edu!keaneShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,5549d16cd535a4bd,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-11-27 15:08:38 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!darwin.sura.net!mojo.eng.umd.edu!keane From: keane@eng.umd.edu (Christopher Matthews Keane) Subject: binary data on SUN and MSDOS Message-ID: <1992Nov27.230027.13734@eng.umd.edu> Date: Fri, 27 Nov 92 23:00:27 GMT Organization: Project GLUE, University of Maryland, College Park Lines: 19