To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: f2c/djgcc/microsoft fortran From: alane AT wozzle DOT linet DOT org (J. Alan Eldridge) Date: Thu, 07 Jan 93 23:13:18 EST Organization: Disorganization src4src!mcdhup!rutgers!stnfor.ae.ge.com!ae1181t (Osman F Buyukisik) writes: > I have a fortran program that when translated and compiled with djgcc > runs. But, one of the outputs from the program is a direct access > binary file which seems to be incompatible with microsoft fortran! > Is this a bug in f2c? (Another fortran program compiled & linked > with microsoft fortran needs to read that direct access file)! > thanks. > Osman F Buyukisik. Chances are you are getting bitten by the 16-bit vs 32-bit integer problem. MS F77, being a DOS compiler, probably uses 16 bit ints, whereas GCC, being a _real_ compiler, uses 32 bit ints. Your binary file is probably unreadable for that reason. (At least that's my best guess....) alane AT wozzle DOT linet DOT org (J. Alan Eldridge) Fido: The University of Walamaloo 1:272/38.473