HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
274 Chapter 4
Command Definition F-K
FTNXLLK
Operation Notes
The FTNXLLK command compiles and links an HP FORTRAN 77/iX program into a disk
file. If you do not specify textfile, HP FORTRAN 77/iX expects your input from your
standard input device. If you do not specify listfile, HP FORTRAN 77/iX sends the listing
output to your current list device.
The object file created during compilation is a system-defined temporary file, $NEWPASS,
which is passed directly to the Link Editor as $OLDPASS. The Link Editor overwrites
progfile and writes the linked program to $OLDPASS, if progfile is omitted, which can then be
executed.
NOTE This command is implemented as a command file. If you set the HPPATH
variable to null (SETVAR HPPATH ""), the command file is not executed, and
the command fails.
Use
This command may be issued from a session, job, or program. It may not be used in
BREAK. Pressing
Break suspends the execution of this command. Entering the RESUME
command continues the execution.
Examples
The following example compiles and links an HP FORTRAN 77/iX program entered
through your standard input device and stores the linked program in the file $OLDPASS.
The listing is printed on your standard list device.
FTNXLLK
To compile and link an HP FORTRAN 77/iX source program from the source file FORTSRC,
store it in FORTPROG, and send the listing to your standard list device, enter:
FTNXLLK FORTSRC,FORTPROG
Related Information
Commands FTNXL, FTNXLGO, LINK, RUN, XEQ, LINKEDIT Utility
Manuals HP FORTRAN 77/iX Reference
MPE Segmenter Reference Manual