libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix: Interlibrary dependencies SCO Uw7


From: Matthew Schalit
Subject: Re: Fix: Interlibrary dependencies SCO Uw7
Date: Fri, 20 Apr 2001 13:57:21 -0700

"Gary V. Vaughan" wrote:
> 

> > > If you are sure that it is okay to link non-PIC objects from a static
> > > archive into a shared library, then this is the right thing to do.  


Hi Folks,

I got an answer from comp.unix.sco.programmer.


--------------------------------------------------------------------
Matt Schalit <address@hidden> wrote:

: [...] now I would like to know if these interlibrary 
: dependencies are supported on all 7.x.x.

Yes, and in UnixWare 2, and in the upcoming Open UNIX 8.0.0 as well.

:> "Gary V. Vaughan" wrote:
:> If you are sure that it is okay to link non-PIC objects from 
:> a static archive into a shared library, 

Yes, you can do this.  (On SCO OpenServer this will not work at
all, but on all UnixWare and Open UNIX it will.)  You will lose
some performance doing this, since the pages that contain non-PIC
code will be replicated for each process using them instead of
being shared, but it will work correctly.

:> You can test this by manually linking 
:> a shared lib with a static archive, and then trying to run 
:> an application linked against only the new shared
:> library, but that relies on a symbol from the static 
:> archive.  

Yes, you should be able to successfully do this test.

-- 
Jonathan Schilling              SCO, Inc.               address@hidden
--------------------------------------------------------------------


Based on that, I'm not comfortable with my patch.
As I mentioned, UnixWare 7.x.x is identified as an

   i586-sco-sysv5uw7.x.x

and my patch is caught by the sysv) option, then the sco) option.
But I don't know how to adjust this for UnixWare 2.1.3, though.

Thanks,
Matthew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]