Re: Avoid -Wl,--whole-archive
Thomas Jahns <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
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'. If you can enumerate the actual > dependencies in the Makefile and avoid needless intermediate product > generation, then you will achive a maximally parallel build which builds > much faster on modern systems. Except when they don't actually slow you down: ar and ranlib provide for a lookup table that in my experience is beneficial to build times, especially when you have a network filesystem, where access to individual file system objects can be more expensive. Regards, Thomas _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool