Re: Avoid -Wl,--whole-archive

2019-05-21 Thread Bob Friesenhahn
On Tue, 21 May 2019, Thomas Jahns wrote: On 5/16/19 5:00 PM, Bob Friesenhahn wrote: Convenience libraries are evil.  Convenience libraries slow down your build process dramatically and they cause 'make' not to be aware of the actual underlying dependencies, so that it does much more work than

Re: Avoid -Wl,--whole-archive

2019-05-21 Thread Thomas Jahns
On 5/16/19 5:00 PM, Bob Friesenhahn wrote: Convenience libraries are evil.  Convenience libraries slow down your build process dramatically and they cause 'make' not to be aware of the actual underlying dependencies, so that it does much more work than is required each type you invoke 'make'. 

Re: Avoid -Wl,--whole-archive

2019-05-16 Thread Tim Rühsen
On 5/16/19 5:00 PM, Bob Friesenhahn wrote: > On Thu, 16 May 2019, Tim Rühsen wrote: > >> Hi, >> >> at GNU Wget2 we are just splitting a (shared) library into several >> smaller ones, grouped by functionality. >> >> We depend on gnulib and have a single libgnu.a. Each of the shared >> libraries jus

Re: Avoid -Wl,--whole-archive

2019-05-16 Thread Bob Friesenhahn
On Thu, 16 May 2019, Tim Rühsen wrote: Hi, at GNU Wget2 we are just splitting a (shared) library into several smaller ones, grouped by functionality. We depend on gnulib and have a single libgnu.a. Each of the shared libraries just need a certain set of functions from libgnu.a. To avoid addin