Sun Studio 12: Fortran User's Guide

3.4.141 –xlang=f77

(SPARC) Prepare for linking with runtime libraries compiled with earlier versions of f77.

f95 -xlang=f77 implies linking with the f77compat library, and is a shorthand way for linking Fortran 95 object files with older Fortran 77 object files. Compiling with this flag insures the proper runtime environment.

Use f95 -xlang=f77 when linking f95 and f77 compiled objects together into a single executable.

Note the following when compiling with -xlang: