home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22002 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.1 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!ruuinf!ruunfs.fys.ruu.nl!nieuwhzn
  2. From: nieuwhzn@fys.ruu.nl (Gerrit J. Nieuwenhuizen)
  3. Newsgroups: comp.os.linux
  4. Subject: f2c print problem
  5. Message-ID: <1992Dec29.084857.27904@fys.ruu.nl>
  6. Date: 29 Dec 92 08:48:57 GMT
  7. Sender: usenet@fys.ruu.nl (News Control)
  8. Organization: Physics Department, University of Utrecht, The Netherlands
  9. Lines: 28
  10.  
  11.  
  12. I have downloaded the SLS distribution of Linux 0.99-(?-?) and apart
  13. from having boot problems with the boot floppy, it works reasonably
  14. well on my laptop.
  15. There is one nasty problem with f2c. When the next program is tested:
  16.  
  17.         program testf
  18.  
  19.         print *, "hello"
  20.  
  21.         end
  22.  
  23. (what else!)
  24. the resulting executable does nothing.
  25. compilation steps are:
  26.     f2c testf.f
  27.     gcc -o testf testf.c -lf2c -lm
  28.  
  29. When the debugger flags are used, the executable still does not work.
  30. However, when it started with the debugger gdb, then finally "hello"
  31. appears on the screen.
  32. Is this a bug in f2c?
  33.  
  34.  
  35.             Gerrit J. van Nieuwenhuizen
  36.             Sub Atomic Physics department
  37.             University of Utrecht
  38.             nieuwhzn@ruunfs.fys.ruu.nl
  39.