[comp.unix.ultrix] F77 on a DECstation 3100

grue@caen.engin.umich.edu (Paul Howell) (06/29/89)

Has anyone had problems with F77 for the 3100?  I have a sample
program that does not compile (bad number of arguments to intrinsic function).

	program easy
	print *,time()
	end

This works fine on a VAX running Ultrix.  The man page on time indicates
time takes no arguments, and returns the number of seconds since the epoch.
Also, other intrinsic functions appear not to work, or are not in the 
fortran library (ld error says it's not there!), like fl_min, fl_max.
I've heard that F77 for the 3100 is not BSD F77 but a versions specific
to the 3100.  Why is it broke?

khb%chiba@Sun.COM (chiba) (06/30/89)

In article <441c0027.1a5bf@moth.engin.umich.edu> grue@caen.engin.umich.edu (Paul Howell) writes:
>
>Has anyone had problems with F77 for the 3100?  I have a sample
>program that does not compile (bad number of arguments to intrinsic function).
>
>	program easy
>	print *,time()
>	end
>
>This works fine on a VAX running Ultrix.  The man page on time indicates
>time takes no arguments, and returns the number of seconds since the epoch.
>Also, other intrinsic functions appear not to work, or are not in the 
>fortran library (ld error says it's not there!), like fl_min, fl_max.
>I've heard that F77 for the 3100 is not BSD F77 but a versions specific
>to the 3100.  Why is it broke?

Probably a mismatch between the MIPSco software and the DEC
documentation. Try providing time with an integer 0. 

cheers

Keith H. Bierman      |*My thoughts are my own. Only my work belongs to Sun*
It's Not My Fault     |	Marketing Technical Specialist    ! kbierman@sun.com
I Voted for Bill &    |   Languages and Performance Tools. 
Opus  (* strange as it may seem, I do more engineering now     *)