- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page