J
JKop
I post here because the G++ newsgroup is dead.
Plus there's plenty of people in here with all sorts of
computer knowledge...
Anyway,
I compiled a Win32 program today. Out of curiosity, I ran
DependencyWalker on it. I see that it links dynamically
with MSVCRT.DLL.
Firstly, what compiler switches are there for specifying
static or dynamic linkage with the Standard libraries?
Secondly, which would you recommend? If "msvcrt.dll" comes
packaged with Windows, then it's the obvious preferable
choice - smaller executable, only one "copy" of the library
in memory at the one time. But if it's *not* packaged with
Windows, then it looks like dynamic linkage would be the
better choice!
-JKop
Plus there's plenty of people in here with all sorts of
computer knowledge...
Anyway,
I compiled a Win32 program today. Out of curiosity, I ran
DependencyWalker on it. I see that it links dynamically
with MSVCRT.DLL.
Firstly, what compiler switches are there for specifying
static or dynamic linkage with the Standard libraries?
Secondly, which would you recommend? If "msvcrt.dll" comes
packaged with Windows, then it's the obvious preferable
choice - smaller executable, only one "copy" of the library
in memory at the one time. But if it's *not* packaged with
Windows, then it looks like dynamic linkage would be the
better choice!
-JKop