Home

Compiler

Compiler options specify the compilers and compiler-related tools that Simply Fortran will utilize.

Compilers

This box allows for the specification of the compiler type and associated commands for triggering the compiers.

Personality

This dropdown lists currently known compiler “personalities,” which define how a compiler and its tools are used. A personality maps Simply Fortran’s options to specific compiler flags, commands, etc. Normally Simply Fortran relies on the GNU Fortran compiler and related tools, but a personality allows the use of alternate compiler families.

The list of personalities present by default do not reflect what may be actually installed on any given system outside the GNU compiler included with Simply Fortran for Windows. Other compilers may be provided by outside parties, and the personality in Simply Fortran can be used to call these compilers correctly. However, a listed compiler personality may require installing said personality first.

Additional personalities can be added to Simply Fortran using the “Add” button, and personalities may be subsequently removed using the “Forget” button.

Selecting a personality will erase and reset the contents of all compiler command boxes.

Commands

The compiler locations specify the path to the Fortran, C, and resource (Windows only) compilers. The locations of the library utility, ar, and, if necessary, the separate linking utility are also available. To change any location, the path can be modified by hand or the Browse… button can be used to navigate to the desired compiler. If a given compiler is present on the system’s path, the full path to the command is not necessary.

Delete Associated Objects…

When this option is enabled, object files and, if applicable, module files generated by a particular source file will be deleted whenever the corresponding source file is disabled in the Project Pane . This option helps ensure that stale object and module files are not left present if a file is disabled in a project.

Terminate Process Prior to Building

Enabling this option causes Simply Fortran to terminate any running executables associated with the current project prior to building. This option can be useful if the compiler is reporting “Permission Denied” when attempting to write executable or shared library projects.

Suggest Legacy Standards…

If Simply Fortran detects an inordinate number of deleted features when compiling a project, this option will ask the user if he or she wishes to enable legacy standards. Legacy standards enables many deleted features that were common in older Fortran codebases.

Limit Compiler Errors

Enabling this option and setting the corresponding count causes the build process to terminate when the specified number of errors occurs when compiling a single file. In complex projects, errors can cascade, leading to runaway build error messages in the Build Status tab. Setting this option can help limit the number of displayed errors to a manageable amount.