Man Page f77.1




NAME

     f77 - FORTRAN 77 compiler


SYNOPSIS

     Sun[tm] Studio software no	longer includes	a separate FOR-
     TRAN 77 compiler, f77. Recent releases migrated many FORTRAN
     77	features into the Fortran 95 compiler, f95. Much of the
     functionality of the f77 compiler is now available	with the
     Fortran 95	compiler.

     With current Sun Studio compiler releases,	the f77	command
     calls the f95 compiler with an appropriate	set of defaults:

	   f95 -f77 -ftrap=%none

     If	it is necessary	to link	to library routines that were
     compiled with a previously	released f77 compiler, add
     -xlang=f77	to the command line.

     However, if you are compiling and linking in separate steps
     and explicitly specify -xlang=f77,	or -lM77, or -lF77,  or
     -lsunmath,	you must link with f95 (or the f77 script) and
     not with cc or CC.

     If	you are	also compiling with the	-fast flag, add
     -ftrap=%none after	-fast to retain	Fortran	77's trapping
     behavior on arithmetic exceptions.	-fast sets the trapping
     mode to "common".

	f77 -fast -ftrap=%none

     Invoking the f77 script issues a message to alert you to the
     fact that you are using the f95 compiler in -f77 compatibil-
     ity mode. You can disable this message by adding
     -errtags=INVOKE to	the command line.

     See the f95(1) man	page for more information.