Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

LIB file visual studio question

Brian_Murphy
New Contributor II
1,035 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
Honored Contributor III
1,013 Views
0 Kudos
2 Replies
Steve_Lionel
Honored Contributor III
1,014 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
1,005 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