Subject: Re: fort77
To: James T. Nelson <jnelson@wiai.com>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-help
Date: 09/02/1999 12:35:15
On Thu, 2 Sep 1999, James T. Nelson wrote:
> Fort77 is installed with NetBSD1.4, but f2c is not. The fort77 provided in
> the package source distribution works with f2c. I checked the man pages, and
> doing a 'man fort77' or 'info fort77' kicks me into a discussion of g77,
> f77, but no f2c, and no discussion concerning fort77, for that matter. I
> have tried to build fort77 using the pkgsrc distribution, but 'make' finds
> the fort77 distributed with the NetBSD1.4 distribution. Is the fort77
> distributed with NetBSD1.4 the same fort77 as that used with f2c? What is
> going on here? Let me know if I should make this inquiry elsewhere.
The fort77 distributed with 1.4* is g77.
dan@cowboy-burt 66 # ls -l /usr/bin/*77
-r-xr-xr-x 3 root wheel 90112 May 9 04:54 /usr/bin/f77
-r-xr-xr-x 3 root wheel 90112 May 9 04:54 /usr/bin/fort77
-r-xr-xr-x 3 root wheel 90112 May 9 04:54 /usr/bin/g77
This is different from the fort77 in the packages collection. For what
its worth, the packages fort77 is somewhat redundant because when you
install the f2c package, it installs a script 'f2c-f77' which acts like a
f77 compiler. You can use 'f2c-f77' everywhere where you'd use 'f77'.
I recall someone adding the /usr/bin/fort77 link to /usr/bin/g77 a while
back to match some standard (I forget which one).
Despite having g77 shipped, I've seen instances where it produces a broken
executible so I still use f2c (via f2c-f77).
Hope this helps.
-Dan