Date: Mon, 14 Nov 94 23:50:03 EST From: dliu AT faraday-gw DOT njit DOT edu (Dong Liu) To: djgpp AT sun DOT soe DOT clarkson DOT edu, UCKO AT VAX1 DOT ROCKHURST DOT EDU Subject: Re: Shared libraries References: <01HJGQZXX71C004BG2 AT VAX1 DOT ROCKHURST DOT EDU> <9411141619 DOT AA04480 AT delorie> Mailer: VM 5.32 (beta) for GNU Emacs 18.59.5 >>>>> On Mon, 14 Nov 94 11:19:51 -0500, dj AT stealth DOT ctron DOT com (DJ Delorie) said: > Why not build something like that into DJGPP 2.0? Have the stub launch a > loader which exits after loading the libraries? DJ> There's still the problem of where to put the library. Most systems DJ> that support shared libraries can load the library at a predictable DJ> address, so that no relocation is needed. In DPMI 0.9, there is no DJ> way of doing this. The linux a.out shared libraries use fixed addresses, it is a pain to make and maintain this kind libraries. It uses a specially hacked version "as". With PIC code, it is much easier. Is it possible for two tasks sharing pages in DJGPP 2.0? If it is, the dynamic loader and shared libraries can be loaded in to memory by the first go32 program, the spwaned task doesn't need to read them from disk again. That mus save a lot of memory and time.(especially programs use libg++). ---- Dong Liu Electrical and Computer Engineering Department New Jersey Institute of Technology, Newark, NJ 07102