Fortran User's Guide

-o nm

Specify the name of the executable file to be written.

    SPARC: 77/90 x86:77

There must be a blank between -o and nm. Without this option, the default is to write the executable file to a.out. When used with -c, -o specifies the target .o object file; with -G it specifies the target .so library file.