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

need help w/ Compiler message

rahzan
New Contributor I
406 Views
I am compiling a DLL from the cmdline using this:

df.exe /check:bounds /arch:host /nologo /threads /warn:all /traceback /dll name.F90 /link

It echoes simply the f90 filename and, I get the DLL (and a Mod) file.

I seem to recall however, that I used to get an additonal echo msg:

Creating library name.lib and object name.exp

as well as the files themselves. In fact I can reproduce it for another dll w. identical cmdline but with an added obj file after the /link.

Does the former mean that it did not work quite right, and why would the latter be the case under a different circumstance?

Thanks, Tim
0 Kudos
3 Replies
Steven_L_Intel1
Employee
406 Views
You really mean "need help w/lack of linker message".

This happens when the linker does not see any instructions to export a name for the DLL. That means no valid DLLEXPORT directive or no .DEF file.

Steve
0 Kudos
rahzan
New Contributor I
406 Views
First, Thanks for the reply.

Sorry to be dense.
1. Does that mean the build is ok?
2. What is an example of a DLLexport directive?
3. how does having an obj file (when it is needed) after the /link make things any different?

thanks again,
tim

p.s. how come "watch this topic" does not imply sending the replies out via email anymore?
0 Kudos
rahzan
New Contributor I
406 Views
PLEASE DISREGARD previous msg!
I was confused since I assumed I already have the DLLEXPORT attributes so I thought you were talking about somehting different.

Somehow my (pre)parser got rid of the !dec because it thought it was a comment!!

TSH
0 Kudos
Reply