www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/27/17:29:13

Xref: news2.mv.net comp.os.msdos.djgpp:3193
From: mcastle AT umr DOT edu (Mike Castle)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ELF?
Date: 27 Apr 1996 09:37:34 GMT
Organization: University of Missouri - Rolla
Lines: 23
Message-ID: <4lspsu$6c3@hptemp1.cc.umr.edu>
References: <199604260655 DOT CAA06279 AT mv DOT mv DOT com>
NNTP-Posting-Host: dialup-pkr-5-14.network.umr.edu
Originator: nexus AT thune DOT mrc DOT org
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <199604260655 DOT CAA06279 AT mv DOT mv DOT com>,
Martynas Kunigelis  <martynas DOT kunigelis AT VM DOT KTU DOT LT> wrote:
>would a spawned process know if a shared library is already loaded? Nah, I
>think it takes an OS to implement a full-fledged DLL engine, not only a file
>format.

Not particularly.  The OS could care less.  Take linux, for
example (or at least my understanding of it).  

The C startup code minimally knows how to dynamically link in
/lib/ld.so  (This makes updating stuff easier, as the C startup
code will rarely change, in this aspect).  ld.so then has enough
intelligence to do the rest of the linking.  

Just need enough intelligence in the tools to build such
critters.

mrc
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  mcastle AT cs DOT umr DOT edu     and be right all the time, or not work at all
   mcastle AT umr DOT edu       and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019