home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!ruuinf!ruunfs.fys.ruu.nl!nieuwhzn
- From: nieuwhzn@fys.ruu.nl (Gerrit J. Nieuwenhuizen)
- Newsgroups: comp.os.linux
- Subject: f2c print problem
- Message-ID: <1992Dec29.084857.27904@fys.ruu.nl>
- Date: 29 Dec 92 08:48:57 GMT
- Sender: usenet@fys.ruu.nl (News Control)
- Organization: Physics Department, University of Utrecht, The Netherlands
- Lines: 28
-
-
- I have downloaded the SLS distribution of Linux 0.99-(?-?) and apart
- from having boot problems with the boot floppy, it works reasonably
- well on my laptop.
- There is one nasty problem with f2c. When the next program is tested:
-
- program testf
-
- print *, "hello"
-
- end
-
- (what else!)
- the resulting executable does nothing.
- compilation steps are:
- f2c testf.f
- gcc -o testf testf.c -lf2c -lm
-
- When the debugger flags are used, the executable still does not work.
- However, when it started with the debugger gdb, then finally "hello"
- appears on the screen.
- Is this a bug in f2c?
-
-
- Gerrit J. van Nieuwenhuizen
- Sub Atomic Physics department
- University of Utrecht
- nieuwhzn@ruunfs.fys.ruu.nl
-