On 19.09.2013 13:58, Benjamin Thaut wrote:
Am 12.09.2013 07:54, schrieb Rainer Schuetze:
This sounds interesting. Stripping an existing library isn't even needed
because it is normally never created with exports anyway (-lib implies
that no exports are created to start with). Stripping object files might
be necessary, though, in case they have been built separately with -c.
Can't we get around stripping object files by always using -c together
with -lib in case the object file is supposed to go into a static library?
That could work, though it has it's own set of side effects, like
splitting a module into pseudo modules per function which also ruins
running unittests built into the library. Building modules with -c and
combining these into a library afterwards avoids this.