Mail Archives: djgpp/1994/11/15/04:59:02
>>>>> 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 <dliu AT ace DOT njit DOT edu>
Electrical and Computer Engineering Department
New Jersey Institute of Technology, Newark, NJ 07102
- Raw text -