Date: Thu, 07 Mar 1996 22:05:57 +0100 (MET) From: erik AT tntnhb3 DOT tn DOT tudelft DOT nl (Erik Luijten) Subject: Re: problem with output of real number in hexadecimal To: djgpp AT delorie DOT com (djgpp) Message-id: <9603072105.AA10124@tntnhb3.tn.tudelft.nl> Content-type: text Content-transfer-encoding: 7BIT Bill Galbraith wrote: > I don't speak C very well, and I use DJGPP with the Fortran-to-C > converter F2C. I am having trouble converting a program which > executes under DJGPP v1m4 but encounters a problem under DJGPP v2.0 . > A brief FORTRAN progran to illustrate this problem is contained in > the file A.F, such as: Program A REAL*4 Num_Coef DATA Num_Coef / 1.0 / Write (6,1000) Num_Coef 1000 format (z8.8) END > Can anyone shed some light on my problem? Is this a problem with > DJGPP v2.0 or with the F2C converter? I have converted this little program with f2c (newest version from netlib) and subsequently compiled it with djgpp v2. This worked without problems. Did you use the libf2c.a (or libi77.a and libf77.a) which were compiled with v1.12? This might be the cause of the problem. Recompiling doesn't take very long (an hour or so on a 386). Erik Luijten -- Erik Luijten | Theoretical Physics Section erik AT tntnhb3 DOT tn DOT tudelft DOT nl | Faculty of Applied Physics | Delft University of Technology tel. +31-15-2786156 | P.O. Box 5046 fax +31-15-2781203 | 2600 GA Delft --- The Netherlands