Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

nofor_main option?

eelsen
Beginner
647 Views
Anyone know why this option isn't supported in windows? Its making my life a pain - finding all the necessary libraries and passing them to microsofts linker is not fun. Anyone know of a better solution?

I can't understand why this option would be removed from the windows compiler.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
647 Views


This is not the option you are looking for.

That option was not removed - it was never there in the first place because it is not needed on Windows. It isn't what you want anyway.

I am going to guess that you have a mixed C-Fortran application with a C main project and a Fortran library. What you really want is to REMOVE an option - /libdir:noauto - on the Fortran library project. In Visual Studio, this is the property Libraries..Disable default library search rules.. You will find it set to Yes, change it to No and rebuild.

0 Kudos
Reply