[comp.sys.next] f2c, ld bug ?

jackw@isi.edu (Jack Wills) (01/24/91)

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