Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!isi.edu!jackw From: jackw@isi.edu (Jack Wills) Newsgroups: comp.sys.next Subject: f2c, ld bug ? Keywords: f2c, ld, NeXTstation, 040, Release 2.0 Message-ID: <16479@venera.isi.edu> Date: 24 Jan 91 08:22:39 GMT Reply-To: jackw@venera.isi.edu Distribution: na Organization: Information Sciences Institute, Univ. of So. California Lines: 23 I have tried to use f2c on my new NeXTstation (68040 running Release 2.0). I used the f2c distribution available from the Purdue ftp site. I used the suggested changes for the NeXT and it compiled clean. I have not been sucessful in getting executable files out of this program. The f2c cross compiliation step seems to work fine. However the link editor (/bin/ld) complains about unresolved references. This occurs even for the simplest programs such as: program hello print*,'hello world' end The F77 and I77 libraries built without complaint, and by using otool I was able to confirm that the unresolved references actually are in the libraries. Is there a bug in the linker? Should I RTFM? (and if so which FM?) Is anyone actually using f2c under 2.0? All help or comments gratefully appreciated; I suggest you reply by email; if there is general interest I'll post a summary. Jack Wills jackw@venera.isi.edu wills@ee.ucla.edu