>----Messaggio originale----
>Da: johnbrown105@...
>
>The PATH is not the only place where the system searches for a DLL.
>See http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).
aspx
>for more information.
thank you for the link.
wow, what a complicated rules other than simple LD_LIBRARY_PATH env.
On Win32 seems the user cannot prevent loading a dll from system and win
directory,
without use system call in the sources. Right?
So, as I do not used those calls, my mingw executable see system DLL.
I checked with 'nm' and is so, standard library symbols are outside the
binary.
>By default, a MinGW program *must* depend on msvcrt.dll. There are
>ways of linking to a more recent version of the Microsoft C run-time
>library if you want. Search the list archives.
>
>I believe that by default, MinGW prefers dynamic linking. You can
>override it with -static or something similar.
ok dynamic is default as my expectation.
thank you.
Valerio
|