Tue Sep 16 21:01:00 GMT 2003
Sam Steingold wrote:
> it turned out that I needed to recompile the obj file that defined my
> same_tty_p() - of course. how silly of me! [now, I think I was told
> that everything was binary backwards compatible; I guess I was confused]
> now that I did it -- my scratch.c works just like your stest.c.
Executables (and DLLs) are binary backwards compatible. Static libs
and objects are not. The 64 bit translation happens at link time.
> (gdb) p fstat(fd1, &stat1)
> Segmentation fault (core dumped)
> now, why does GDB crash?
Maybe because gdb actually calls fstat instead of fstat64 since it doesn't
get the magic link time redirection? No idea really.
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin