Specifies that the main program is not written in Fortran.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -nofor-main |
Windows: | None |
None
OFF | The compiler assumes the main program is written in Fortran. |
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 ifort command.
If you omit this option, the main program must be a Fortran program.
None