Re: Forced static lib if any depend lib is static on win32

2014-04-28 Thread Evgeny Grin
21.04.2014, 02:50, JonY 10wa...@gmail.com: On 4/19/2014 09:22, Evgeny Grin wrote:  19.04.2014, 04:45, JonY:  On 4/19/2014 03:31, Evgeny Grin wrote:   For XBMC we have 41 depend precompiled lib, 4 of them depend on zlib dll, all of 4 depend on zlib1.dll, but each one on specific zlib

Re: Forced static lib if any depend lib is static on win32

2014-04-20 Thread JonY
On 4/19/2014 09:22, Evgeny Grin wrote: 19.04.2014, 04:45, JonY: On 4/19/2014 03:31, Evgeny Grin wrote: For XBMC we have 41 depend precompiled lib, 4 of them depend on zlib dll, all of 4 depend on zlib1.dll, but each one on specific zlib version. And with some zlib versions some of

Re: Forced static lib if any depend lib is static on win32

2014-04-18 Thread Bob Friesenhahn
On Thu, 17 Apr 2014, Evgeny Grin wrote: Hi! Win32 libs is forced to be static if any dened lib is not shared. If it's done to prevent symbols conflicts on several shared libs with same static lib. But if DEF file is used or dllexport function attribute is used, ld will not export functions

Re: Forced static lib if any depend lib is static on win32

2014-04-18 Thread Evgeny Grin
18.04.2014, 19:25, Bob Friesenhahn bfrie...@simple.dallas.tx.us: For Win32 builds on my Windows system, I see that it is normal for DLLs to be named according to the major interface number.  For example, zlib (not created using libtool) is named zlib1.dll and libltdl (created using libtool)

Re: Forced static lib if any depend lib is static on win32

2014-04-18 Thread JonY
On 4/19/2014 03:31, Evgeny Grin wrote: 18.04.2014, 19:25, Bob Friesenhahn bfrie...@simple.dallas.tx.us: For Win32 builds on my Windows system, I see that it is normal for DLLs to be named according to the major interface number. For example, zlib (not created using libtool) is named

Re: Forced static lib if any depend lib is static on win32

2014-04-18 Thread Evgeny Grin
19.04.2014, 04:45, JonY 10wa...@gmail.com: On 4/19/2014 03:31, Evgeny Grin wrote:  For XBMC we have 41 depend precompiled lib, 4 of them depend on zlib dll, all of 4 depend on zlib1.dll, but each one on specific zlib version. And with some zlib versions some of depend dlls crash.  But

Forced static lib if any depend lib is static on win32

2014-04-17 Thread Evgeny Grin
Hi! Win32 libs is forced to be static if any dened lib is not shared. If it's done to prevent symbols conflicts on several shared libs with same static lib. But if DEF file is used or dllexport function attribute is used, ld will not export functions from static lib if no --export-all-symbols