On 2016-03-25 16:25-0400 Matt Breedlove wrote:

> DLLs load from the system32/wow64 directory first *regardless* of any
> PATH variables. [...]

> Here's the URL that describes the behavior:
>
> https://msdn.microsoft.com/en-us/library/7d83bc18.aspx
>
> [...] Windows will search
> the system directories first and then progress along the PATH
> directories.  This is unless a specific call is made to change that
> behavior (which it is not).

I have just subscribed to this list so I am not sure whether the
LD_LIBRARY_PATH environment variable approach has been mentioned or
not to give MinGW-w64/MSYS2 platform users absolute choice of dll's
similar to how the LD_LIBRARY_PATH environment variable is implemented
on Unix/Linux. I notice that according to
<https://cygwin.com/cygwin-ug-net/setup-env.html> LD_LIBRARY_PATH is
implemented for Cygwin so I assume it is also implemented for
MinGW-w64/MSYS2, but if that assumption is incorrect, that
implementation should be a fairly high priority in my opinion.

N.B. To introduce myself I do have a strong predilection for
Unix-style solutions such as LD_LIBRARY_PATH. I don't have access to
the Microsoft version of Windows (by design), but I do think that the
Windows platform is a great ecological niche for free software to
fill, and I am very happy to see Cygwin and MinGW-w64/MSYS2 carrying out
that task.  :-)

My first attempt to use MinGW-w64/MSYS2 from the Wine version of
Windows failed a while back because of a Wine bug (even though
MinGW/MSYS works well under Wine).  Nevertheless, I am still
interested in gaining knowledge of the MinGW-w64/MSYS2 platform in
case I can ever get access to it via Wine and also so that I can give
good advice to PLplot users who are building and using PLplot
(normally with complete success) on MinGW-w64/MSYS2.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to