Visible to Intel only — GUID: GUID-1B4D1FF2-1461-4577-866A-5A0FCD059BEE
Visible to Intel only — GUID: GUID-1B4D1FF2-1461-4577-866A-5A0FCD059BEE
nofor-main
Specifies that the main program is not written in Fortran.
Syntax
Linux: |
-nofor-main |
Windows: |
None |
Arguments
None
Default
OFF |
The compiler assumes the main program is written in Fortran. |
Description
This option specifies that the main program is not written in Fortran. It is a link-time option that prevents the compiler from linking for_main.o into applications.
For example, if the main program is written in C and calls a Fortran subprogram, specify -nofor-main when compiling the program with the ifx or ifort command.
If you omit this option, the main program must be a Fortran program.
IDE Equivalent
Alternate Options
None