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

brucec@batcomputer.tn.cornell.edu (Bruce Church) (02/06/88)

	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.  I want to use these
    but I don't want to abandon my beloved C or mess with calling 
    fortran from C.  Perhaps a yacc program would work.

    Thanks in advance,

    Bruce Church 

                               brucec@tcgould.tn.cornell.edu

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

Shekar_Narayanan.SV@Xerox.COM (02/19/88)

Sorry to send this to the entire dl.

I tried sending my mail to the originator of the referred mail at
"grosen%amadeus.ucsb:EDU:Xerox" as indicated in the From address but the mail
came back undeliverable. If Mark, the originator of the mail happens to see
this, or somebody who knows about this, would you please respond to me by e-mail
or call me at  (408)293-7835 during 9A.M to 6 P.M PST.

Thanks

Shekar

___________________________________

Domain name server:  parcvax.Xerox.COM,  Domain contact: Postmaster@Xerox.COM

If you are sure that the unknown host above is actually a valid Arpanet name,
there may be a problem with the name server at parcvax.Xerox.COM.  If you
forward the header of this message to Postmaster.pa@Xerox.COM the maintainers of
this name server will be notified about the problem.


The text of your message was
--------------------
Received: from Burger.ms by ArpaGateway.ms ; 18 FEB 88 10:58:01 PST
Sender: "Shekar Narayanan".SV
Date: 18 Feb 88 10:57:25 PST (Thursday)
Subject: Re: Fortran -> C translator needed
From: "Shekar Narayanan".SV
To: grosen@amadeus.ucsb.EDU
cc: "Shekar Narayanan".SV
In-Reply-to: grosen%amadeus.ucsb:EDU:Xerox's message of 18-February-88
(Thursday) 2:57:47 PST

Mark,

	I am interested in the numerical recipes in C. Would you please e-mail me the
ordering information (how, where and telephone number) so that I can order one.
I have'nt seen the flyer myself. Many thanks in advance.

	Shekar