| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| Message-ID: | <37CF36B8.63E4@ns.sympatico.ca> |
| From: | Klaas <klaas AT ns DOT sympatico DOT ca> |
| X-Mailer: | Mozilla 3.04 (Win95; I) |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Program has different outputs! |
| References: | <37CE896E DOT 985BA87F AT etruria DOT com> |
| Lines: | 26 |
| Date: | Fri, 03 Sep 1999 02:47:28 GMT |
| NNTP-Posting-Host: | 142.177.95.15 |
| X-Complaints-To: | abuse AT ns DOT sympatico DOT ca |
| X-Trace: | sapphire.mtt.net 936326848 142.177.95.15 (Thu, 02 Sep 1999 23:47:28 ADT) |
| NNTP-Posting-Date: | Thu, 02 Sep 1999 23:47:28 ADT |
| Organization: | Sympatico-Subscriber |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Tommaso Mazzoni wrote: > > I have installed DJGPP because it supports the only fortran compiler > around, g77. > > After successfully compiling my old fortran sources, I have found out > that the resulting executable SOMETIMES works well, sometimes it > doesn't. It's the first time that such a thing happens to me. > > The program reads some files, then performs some calculations and then > prints out the results. But to have it work properly I have to run it > four or five times in a row until a sensible output is printed. > Otherwise I get a series of "random" numbers and also NAN etc. > > The input files are read correctly even when the results make no sense. > The sources come from a UNIX machine where the same program runs > correctly. > > Is it a memory allocation problem? I have no idea. > Perhaps a code snippet would be in order, though I imagine a fortran newsgroup would be more help (as they would not only be familiar with fortran, but most probably with g77 as well). -Mike
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |