The most authoritative name I know wrt cygwin has posted on this
https://www.cygwin.com/ml/cygwin/2008-11/msg00471.html
which I interpret that, in cygwin's dlopen() routine, a
getenv("LD_LIBRARY_PATH") is used to modify the fetch search order, only
when dlopen is called from the application. It isn't universally a vital
aspect of Linux - my opensuse runs without it, instead it gets the
equivalent list from an /etc/so.conf(?don't quote me on the name) file, but
I'm guessing that the environment variable may still be used to override
it, vis-a-vis the linux kernel.
msys2 probably will have same behavior with dlopen(); again, guessing that
it would be easier to leave it in than patch it out.
On Fri, Mar 25, 2016 at 3:59 PM, Alan W. Irwin <[email protected]>
wrote:
>
> So let's assume a native version of PLplot is built on the
> MinGW-w64/MSYS2 platform against the mingw64/mingw-w64-x86_64 packages
> using the correct 64-bit native runtime. However, suppose the user is
> using the "Unixy" aspects of MinGW-w64/MSYS2 such as bash.exe
> (installed using the msys/bash package). For this case would
> LD_LIBRARY_PATH be available so that bash.exe user could ensure the use
> of the mingw64/mingw-w64-x86_64 dll's (when both the Windows system
> and mingw64/mingw-w64-x86_64 provide a dll with the same name)?
> Alan
So let's assume a native version of PLplot is built on the
> MinGW-w64/MSYS2 platform against the mingw64/mingw-w64-x86_64 packages
Nope not gonna happen! You break out the MSYS window (MSYSTEM=MSYS) and
the mingw-w64 trees are there only as a curiosity, for this platform. MSYS
has its own
(currently at version 4.9.2, as for cygwin) set of gcc tools. plplot will
quite happily build
(with the msys cmake) for just the CXX and f95 bindings, but no wingcc
device (svg, xfig,
ps, and Z). It would be nice to get this basic device built for that:
> Other important CMake variables:
>
>
>> CMAKE_SYSTEM_NAME: MSYS
>
> UNIX: 1
>
> WIN32: 0
>
> APPLE:
>
> MSVC: (MSVC_VERSION: )
>
> MINGW:
>
> MSYS: 1
>
> CYGWIN:
>
> BORLAND:
>
> WATCOM:
>
>
>> SWIG_FOUND: 1
>
> PERL_FOUND: TRUE
>
> X11_FOUND: 0
>
>
>> CMAKE_BUILD_TYPE:
>
> CMAKE_C_COMPILER CMAKE_C_FLAGS: /usr/bin/cc.exe
>
> CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: /usr/bin/c++.exe
>
> CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS: /usr/bin/gfortran.exe
>
> Target Fortran:
>
>
>> ENABLE_DYNDRIVERS: ON
>
> DRIVERS_LIST: mem;null;ps;svg;xfig
>
> DEVICES_LIST: mem;null;ps;svg;xfig
>
>
>>
Regards,
Greg
>
>
------------------------------------------------------------------------------
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