*BSD News Article 38312


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:14639 comp.os.linux.misc:30350
Newsgroups: comp.os.386bsd.questions,comp.os.linux.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!pipex!uknet!info!iialan
From: iialan@iifeak.swan.ac.uk (Alan Cox)
Subject: Re: ELF and dynamic loading (Re: 386BSD vs Linux)
Message-ID: <CzM9tE.C83@info.swan.ac.uk>
Sender: news@info.swan.ac.uk
Nntp-Posting-Host: iifeak.swan.ac.uk
Organization: Institute For Industrial Information Technology
References: <3albdp$rcf@pdq.coe.montana.edu> <CzJ6p3.7Gv@kithrup.com> <3alnmi$57g@pdq.coe.montana.edu>
Date: Mon, 21 Nov 1994 12:10:26 GMT
Lines: 17

In article <3alnmi$57g@pdq.coe.montana.edu> nate@bsd.coe.montana.edu (Nate Williams) writes:
>>It could, for
>>example, load in /usr/libexec/netbsd-ld.so, which would know to look in
>>/usr/lib/netbsd for all of the shared libraries it wants, instead of
>>/usr/lib.
>Which would require having a complete set of NetBSD shared libraries,
>and SCO shared libraries, and Linux shared libraries, etc...

No. It requires a set of 'host' ELF libraries and a set of convertor ELF
libraries that use the host library having played with any relevant
functions to hide differences (eg mapping BSD terminal ioctls onto POSIX).

Alan
-- 
  ..-----------,,----------------------------,,----------------------------,,
 // Alan Cox  //  iialan@www.linux.org.uk   //  GW4PTS@GB7SWN.#45.GBR.EU  //
 ``----------'`----------------------------'`----------------------------''