Re: Question about static and shared libraries and their usage in a binary on Windows in a autotools project

2021-08-11 Thread Vincent Torri
On Wed, Aug 11, 2021 at 3:44 PM Alexei Podtelezhnikov wrote: > > > > >> And as I prefer DLL compared to static lib, I know what to do :-) > > > > I have the distinct impression that static libraries are rarely used under > > Windows any more. > > Perhaps I am off base here. Isn’t this why DLL

Re: Question about static and shared libraries and their usage in a binary on Windows in a autotools project

2021-08-11 Thread Vincent Torri
On Wed, Aug 11, 2021 at 3:27 PM Bob Friesenhahn wrote: > > On Wed, 11 Aug 2021, Vincent Torri wrote: > > > > The only solution I can see is : forcing to have only one specific > > library. either static or shared, and throw an error if the wrong lib > > is chosen at configure time. > > > > And as

Re: Question about static and shared libraries and their usage in a binary on Windows in a autotools project

2021-08-11 Thread Bob Friesenhahn
On Wed, 11 Aug 2021, Alexei Podtelezhnikov wrote: And as I prefer DLL compared to static lib, I know what to do :-) I have the distinct impression that static libraries are rarely used under Windows any more. Perhaps I am off base here. Isn’t this why DLL comes paired with a LIB

Re: Question about static and shared libraries and their usage in a binary on Windows in a autotools project

2021-08-11 Thread Alexei Podtelezhnikov
>> And as I prefer DLL compared to static lib, I know what to do :-) > > I have the distinct impression that static libraries are rarely used under > Windows any more. Perhaps I am off base here. Isn’t this why DLL comes paired with a LIB wrapper, while static is just LIB. VC links with LIB

Re: Question about static and shared libraries and their usage in a binary on Windows in a autotools project

2021-08-11 Thread Bob Friesenhahn
On Wed, 11 Aug 2021, Vincent Torri wrote: The only solution I can see is : forcing to have only one specific library. either static or shared, and throw an error if the wrong lib is chosen at configure time. And as I prefer DLL compared to static lib, I know what to do :-) I have the