[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] binary outside MSYS
From: "efa () iol ! it" <efa () iol ! it>
Date: 2012-06-25 13:01:42
Message-ID: 25181822.2070001340629302283.JavaMail.defaultUser () defaultHost
[Download RAW message or body]
> ----Messaggio originale----
> Da: johnbrown105@hotmail.com
>
> 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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may \
cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic