Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 3/31/2025
Public

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

Visible to Intel only — GUID: GUID-8252463B-CCE8-4725-8EAF-EE17B059453E

Document Table of Contents

Use the -nofor-main Compiler Option

Intel® Fortran subprograms can be called by C/C++ main programs. Use Linux compiler option -nofor-main if your C/C++ program contains the main() entry point and is calling an Intel® Fortran subprogram.

See Also