General Differences between /FPi, /FPc, /FPa (50320)



The information in this article applies to:

  • Microsoft FORTRAN Compiler for MS-DOS 4.0
  • Microsoft FORTRAN Compiler for MS-DOS 4.01
  • Microsoft FORTRAN Compiler for MS-DOS 4.1
  • Microsoft FORTRAN Compiler for MS-DOS 5.0
  • Microsoft FORTRAN Compiler for MS-DOS 5.1
  • Microsoft FORTRAN compiler for OS/2 4.0
  • Microsoft FORTRAN compiler for OS/2 4.01
  • Microsoft FORTRAN compiler for OS/2 4.1
  • Microsoft FORTRAN compiler for OS/2 5.0
  • Microsoft FORTRAN compiler for OS/2 5.1

This article was previously published under Q50320

SUMMARY

The compile options /FPi, /FPc, and /FPa instruct the FORTRAN compiler to generate an executable program in different ways.

The /FPi option generates in-line instructions for a math coprocessor and places the name of the emulator library in the object file. If a math coprocessor is present at run time, the program uses the coprocessor, If it's not available, it simulates the coprocessor. The object file must be linked with the emulator library.

The /FPc option generates floating-point calls to the emulator library and allows linking with either the 8087/287/387, alternate, or emulator libraries.

The /FPa option generates floating-point calls and places the name of the alternate library in the object file.

The above information is found in Chapter 1 of the "Microsoft FORTRAN Advanced Topics" manual for FORTRAN 5.X and Chapter 8 of the FORTRAN 4.X User's Guide.

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:KB50320