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

LIB file visual studio question

Brian_Murphy
New Contributor II
401 Views

For adding both C++ and fortran LIB's to a fortran project, what is the difference between:

Configuration Properties/Linker/Input/Additional Dependencies

and

Configuration Properties/Linker/Input/Add Module to Assembly

I have projects using the first, and other projects using the second, and looks like for the same thing.

0 Kudos
1 Solution
Steve_Lionel
Black Belt
379 Views
0 Kudos
2 Replies
Steve_Lionel
Black Belt
380 Views

The second option is for an entirely different thing - it isn't for LIBs. See https://docs.microsoft.com/en-us/cpp/build/reference/assemblymodule-add-a-msil-module-to-the-assembly?view=vs-2019

0 Kudos
Brian_Murphy
New Contributor II
371 Views

Thanks, Steve.  I don't know where the /ASSEMBLYMODULE stuff came from, but it's been in there for many years.  I have removed them in the project I'm working on right now.  The application builds ok without it, but now I'm having trouble with stack corruption probably brought on by other changes I've made.

0 Kudos
Reply