On 5/03/2008, at 1:02 PM, Mark J. Reed wrote:

> Glad I could help!
>
> Oh,  you likely know this already, but if you rename it to just
> "ratfor" and put it somewhere in your $PATH, g77 will invoke it
> automatically for you when you run it on a file whose name ends in .r
> .

Didn't know that --- never underestimate the depths of my ignorance!

(1) Be that as it may --- I don't have g77 on my Imac.  Tried to use  
fink
to install it a while back --- to no avail.  I tried

        sudo apt-get install g77

        sudo apt-get install g77-3.4.3-104

        sudo apt-get install g77-3.4.3-20031015-2

(I found those numbers by looking at the fink web page)

and always got the error message:

        E: Couldn't find package g77[-whatever]

(2) I *have* the program ``gfortran'' installed.  (Don't remember how  
it got there; I think that
some months ago I rashly went through the hoops --- I guess it must  
have been successfully ---
to put the ``Apple Developer Tools'' (or something like that) on my  
Imac.) But if I try

        gfortran punishment.r

I get the message

i686-apple-darwin8-gfortran-4.2: pun.r: Ratfor compiler not installed  
on this system

even though ratfor *is* installed --- in /usr/local/bin.  I tried  
doing ``man gfortran''
to see if that would give me a hint, but I was told there was no  
manual entry for gfortran.
(Any idea how I'd get one?)

Anyway, if I do

        ratfor punishment.r > punishment.f

it goes like a train.  (And then ``gfortran punishment.f'' produces  
a.out and a.out
produces the expected output.  So it's no big deal ... still it'd be  
nice to be able
do gfortran to *.r files directly.

Any ideas in respect of either problem (1) or problem (2)?

Thanks.

        cheers,

                Rolf Turner

        

######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to