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'.
libgnu.a. Each of the shared
>> libraries just need a certain set of functions from libgnu.a.
>>
>> To avoid adding everything from libgnu.a to each of the libraries, we
>> would like to avoid "-Wl,--whole-archive ../lib/.libs/libgnu.a
>> -Wl,--no-whole-archive&
adding everything from libgnu.a to each of the libraries, we
would like to avoid "-Wl,--whole-archive ../lib/.libs/libgnu.a
-Wl,--no-whole-archive".
There is no requirement to use "convenience" libraries. People who do
things due to "convenience" are often classifie
of the libraries, we
would like to avoid "-Wl,--whole-archive ../lib/.libs/libgnu.a
-Wl,--no-whole-archive".
There several ways to work around this situation (e.g. creating one
libgnu.a per library). The preferred one would be to have a new option
to libtool, '-no-whole-archive'.
A si