[comp.lang.fortran] Fortran -> C translator needed

wcs@ho95e.ATT.COM (Bill.Stewart) (02/14/88)

In article <3629@batcomputer.tn.cornell.edu> brucec@tcgould.tn.cornell.edu (Bruce Church) writes:
:	Does anyone know where I can find a fortran to C translator
:    that will run on unix ( UTX or Ultrix ).  I have the fortran source
:    code for a large set of very useful numerical routines called 
:    Numerical Recipes that are public domain.  
:    Bruce Church 	brucec@tcgould.tn.cornell.edu

1) Are you really sure they're public domain?  There's a book by that
title, which says you can order the software from them in machine-readable
format; I assume your code is from them.  If you read the preface,
it talks about the copyright status of the programs in the book.
I don't have it handy, but the gist of it was that
	- The code was *NOT* public domain
	- You, the reader, were granted permission to make *ONE*
		machine-readable copy for personal use, but that
		more than that was unfriendly and maybe illegal
	- They'd be happy to sell you machine-readable copies.
In particular, this means you should check out the copyright notices
explicitly before you do anything like give copies away or sell them.
They give a mailing address in Cambridge Mass.

2) There is a program called Fortix commercially available; I've
forgotten who sells it, but look for the ads in UNIX Review.
The current versions are supposed to be pretty effective; I'm not sure
how well they handle non-standard Fortran (e.g. stuff that *knows* how
IBM 370's Fortran-IV implemented character storage), but they should
work fine for the stuff in the Numerical Recipes book.

3) If you can afford to buy Fortrix (which is probably reasonably
priced for commercial software, but certainly isn't free), you're
probably close enough to the boundaries of "fair use" that you'd better
check out the copyright rights for the software.)

4) They also provide the programs in Pascal; if you find they do them
in C, please let me know.
-- 
#				Thanks;
# Bill Stewart, AT&T Bell Labs 2G218, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs

grosen@amadeus.ucsb.edu (Mark D. Grosen) (02/18/88)

I just got a flyer from Cambridge Press yesterday.  There is now a C version
of Numerical Recipes.  The book for the C version is on sale for $36 and the
C source code diskettes for $24.  They now also offer Mac disks.

Mark
Mark D. Grosen		ARPA: grosen%filter@hub.ucsb.edu
Signal Processing Lab
ECE Dept.
University of California
Santa Barbara, CA  93106