www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/09/24/14:41:31

Date: Thu, 24 Sep 92 19:42:30 GMT
From: kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: binary files

I'm after a bug in a big f2c compiled program for days now and things
concentrate around fread/fwrite/fopen on binary files.
I'm getting some strange shifting of data during reading from a binary file
and I wonder whether it is because these data are 0a0d. Hadn't there
been some problem with binary files in the djgpp runtime library in
the past? I'm using 1.08 now. But this problem existed in 1.07 also. All my
sources are compiled under gcc-1.39 on a SCO system. The objects are then 
inked together using libc.a etc. under djgpp. Is the ld reliable? My binary
has 5700 symbols and is about text 5MB + data 2MB + bss 4 MB in size.

Any thrown in straws welcome :-)

--Chris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019