*BSD News Article 78266


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!demos!news1.relcom.ru!EU.net!newsfeed.internetmci.com!netnews.nwnet.net!news.u.washington.edu!root
From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [HOPE] Macro expansion to the FreeBSD f77.
Date: Fri, 13 Sep 1996 13:45:02 -0700
Organization: Applied Physics Lab
Lines: 39
Message-ID: <3239C7CE.41C67EA6@troutmask.apl.washington.edu>
References: <5134a6$bg0@newsgate.so-net.or.jp>
		<3235A9D9.41C67EA6@troutmask.apl.washington.edu> <rzqiv9ibhtw.fsf@djlvig.dl.ac.uk>
NNTP-Posting-Host: troutmask.apl.washington.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.1.5-RELEASE i386)
CC: d.love@dl.ac.uk

Dave Love wrote:
> 
> [Why was I reading this in gnu.misc.discuss?]
> 

Because  I didn't check the newsgroup line, and I did not realize that
the original post had been cross posted.

> >>>>> "Steven" == Steven G Kargl <kargl@troutmask.apl.washington.edu> writes:
> 
>  Steven> I've written a wrapper utility around the f2c+gcc combination
>  Steven> that will work in the manner you describe.
> 
> The `fc' script in the Netlib distribution of f2c already processes .F
> files with cpp.  See also Linux archives for the Perl script `fort77'.

Last time I checked fc, it did not apear to be too robust.

I don't know perl, so if fort77 needs modifications to run of FreeBSD
then I'm SOL.

Does fc and fort77 come with man pages?

> I'd commend g77 to BSD users as probably a better option on balance
> than f2c these days, though YMMV.

The last time I tried g77 on FreeBSD, it barfed on double complex
computations.  The program, that g77 failed to compile a runnable
executable, has run successfully on several different machines running
different OS's and different f77 compilers.  I'll also note that f2c+gcc
does compile the program to a runnable a.out without a problem.  Since
many of my codes make heavy use of double complex, I won't trust g77
results, yet.

-- 
Steve

finger kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~kargl/sgk.html