Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Create Fortran Executables

The simplest way to build an application is to compile all of your Fortran source files, then link the resulting object files into a single executable. You can build single-file executables using the ifort command. You can also use the Visual Studio* IDE on Windows*.

The executable file you build with this method contains all of the code needed to execute the program, including the runtime library. Because the program resides in a single file, it is easy to copy or install. The project contains all of the source and object files for the routines used to build the application. To use these routines in other projects, all source and object files must be relinked.

Exceptions to this are as follows:

  • If you are using shared libraries, all code will not be contained in the executable file.