The package here:

http://sepwww.stanford.edu/software/ratfor.html

compiled fine for me once I set SEPBINDIR in the Makefile.  I just had
it compile to the current working directory:

SEPBINDIR = .

after which typing "Make" got me a ratfor77 binary that seems to work:

$ cat punishment.r
# RATFOR 77
program Punishment
    do i=1, 500 {
        write(unit=*, fmt=1) 'I will not throw paper airplanes in class.';
    }
1   format(A42)
end
$ ratfor77 punishment.r >punishment.f
$ cat punishment.f
C Output from Public domain Ratfor, version 1.0
      program punishment
      do23000 i=1, 500
      write(unit=*, fmt=1) 'I will not throw paper airplanes in class.'
23000 continue
23001 continue
1     format(a42)
      end
$ g77 punishment.f
$ ./a.out | cat -n | tail
   491  I will not throw paper airplanes in class.
   492  I will not throw paper airplanes in class.
   493  I will not throw paper airplanes in class.
   494  I will not throw paper airplanes in class.
   495  I will not throw paper airplanes in class.
   496  I will not throw paper airplanes in class.
   497  I will not throw paper airplanes in class.
   498  I will not throw paper airplanes in class.
   499  I will not throw paper airplanes in class.
   500  I will not throw paper airplanes in class.

-------------------------------------------------------------------------
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