Re: MSW DLLs support in libtool

2016-02-11 Thread Peter Rosin
On 2016-02-11 00:38, Bob Friesenhahn wrote: > On Wed, 10 Feb 2016, Evgeny Grin wrote: >> >> As result - "-no-undefined" is used only on W32 without any practical >> benefit: if lib have some undefined symbols, it will not be build on W32 >> as shared lib regardless of "-no-undefined" flag. And

Re: MSW DLLs support in libtool

2016-02-11 Thread Peter Rosin
On 2016-02-11 12:23, Evgeny Grin wrote: > On 11.02.2016 11:03, Peter Rosin wrote: >> Well said, I would also like to add that libtool -no-undefined *does* *not* >> imply ld --no-undefined. I.e. If you add libtool -no-undefined, then the >> *only* thing that changes is that libtool actually

Re: MSW DLLs support in libtool

2016-02-11 Thread Evgeny Grin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11.02.2016 11:03, Peter Rosin wrote: > Well said, I would also like to add that libtool -no-undefined *does* *not* > imply ld --no-undefined. I.e. If you add libtool -no-undefined, then the > *only* thing that changes is that libtool actually

Re: MSW DLLs support in libtool

2016-02-11 Thread Bob Friesenhahn
On Thu, 11 Feb 2016, Evgeny Grin wrote: Repeat once more: with OS-specific code parts you can't add "-no-undefined" unconditionally. GraphicsMagick (which compiles on a wide variety of systems, including Windows and AIX) has been specifying -no-undefined as a standard option (used on any

Re: MSW DLLs support in libtool

2016-02-11 Thread Evgeny Grin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10.02.2016 18:51, Nick Bowler wrote: > The default (on all platforms) is to create both static libraries and, > when possible, shared libraries. This statement is ether not correct or incorrectly documented. Currently "configure --help" show

Re: MSW DLLs support in libtool

2016-02-11 Thread Bob Friesenhahn
On Thu, 11 Feb 2016, Evgeny Grin wrote: On 10.02.2016 18:51, Nick Bowler wrote: The default (on all platforms) is to create both static libraries and, when possible, shared libraries. This statement is ether not correct or incorrectly documented. Currently "configure --help" show those lib

Re: MSW DLLs support in libtool

2016-02-11 Thread Nick Bowler
On 2/11/16, Evgeny Grin wrote: > * change default shared lib mode from "on" to "auto" or "try" and fail > if shared lib cannot be created when mode is "on". With that logic > "make" will do what requested instead of guessing that "something may be > useful even if not requested".

Re: MSW DLLs support in libtool

2016-02-11 Thread Evgeny Grin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11.02.2016 17:42, Bob Friesenhahn wrote: > GraphicsMagick (which compiles on a wide variety of systems, including > Windows and AIX) has been specifying -no-undefined as a standard option > (used on any OS) in its makefiles for as long as I can