Re: Preferred way to build shared objects from PIC archives?

2002-08-26 Thread Daniel Jacobowitz
On Sun, Aug 25, 2002 at 09:13:35PM -0400, Aaron M. Ucko wrote: The shared libraries in ncbi-tools6 and related packages currently start out as static archives of PIC objects, which then get turned into shared libraries with commands of the form gcc -shared -Wl,-soname=libddvlib.so.6 -o

Re: Preferred way to build shared objects from PIC archives?

2002-08-26 Thread Aaron M. Ucko
Daniel Jacobowitz [EMAIL PROTECTED] writes: No, that should work fine. I don't know what's broken... you may wish to try extracting all the objects via ar and relinking them; that should be pretty easy, but I'm not sure it will help. That's actually how upstream does it, but then there are

Preferred way to build shared objects from PIC archives?

2002-08-25 Thread Aaron M. Ucko
The shared libraries in ncbi-tools6 and related packages currently start out as static archives of PIC objects, which then get turned into shared libraries with commands of the form gcc -shared -Wl,-soname=libddvlib.so.6 -o libddvlib.so.6.1.20020426 \ -Wl,-whole-archive libddvlib.a