Re: Using Shared Libraries with INFORMIX-4GL
Posted in 1997
In article <34885c20.28883301@gate.idg.no>, Nils Myklebust <Nils.Myklebust@idg.no> writes >Another "Con" is that it's yet another set of hassels to set up and >get working. With static linking you make sure your development >environement links in the right libraries (real easy), while with >dynamic linkin you have to make sure every box you install the >application on have the right libraries. That can become a mess with >new versions coming out. > > >David Williams <djw@smooth1.demon.co.uk> wrote: > >:In article <663428$mam@cssun.mathcs.emory.edu>, "Ing. Melvin Perez >:Cedano" <cam@codetel.net.do> writes >:>Hi all! >:> >:>Could someone of you give me any pros and cons regarding to use -shared >:>option of c4gl compiler? >:> >:>TIA >:> >: >: Pros >: ---- >: >: Less memory used Easier upgrade of application, just recompile the library and install. No need to relink all the applications which use the library. Supports multiple versions :- /usr/lib/libc.so.4 - Version 4 /usr/lib/libc.so.5 - Version 5 >: >: Cons >: ---- >: Application startup can be slower as t needs to attach to the shared >: libraries. >: >: Not always available (one of the machines at work does not support >: them). >: >:-- >:David Williams > >Nils.Myklebust@idg.no >NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway >My opinions are those of my company >The Informix FAQ is at http://www.iiug.org -- David Williams