Path: csiph.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: questions re Javascript Date: Sun, 27 Sep 2015 20:42:22 -0400 Organization: Aioe.org NNTP Server Lines: 30 Message-ID: References: <83722e36-4afe-4077-b936-229450613698@googlegroups.com> NNTP-Posting-Host: NIM2IeSPVd0kE3mU1mieXw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:32717 On 9/25/2015 11:44 AM, Jerry Stuckle wrote: > On 9/25/2015 10:15 AM, Eric Sosman wrote: >> On 9/25/2015 9:56 AM, Jerry Stuckle wrote: >>> >>> In ANY operating system, code is compiled into an object file. The >>> result is machine code. However, an additional step is required to link >>> in necessary libraries and other files. >>> >>> That does not mean the output of the compiler is not machine code. It's >>> just not executable-ready machine code. Once the link step is done, the >>> program is ready to run without any other program such as a jvm. >> >> If all the executables are "ready to run without any other >> program," does that mean I can safely delete ld.so from my Unix box? >> > > ld.so is simply a loader in Linux. It's job is to simply read the file > from disk, load it into memory and create any fixups. The same could > easily be done in the Linux kernel, as it is in other OS's. It just isn't. But the fact that it is not done by the OS means that that the input is not directly executable, which is the topic under discussion. BTW, it would not be easy to make the OS do this function. If you have several libraries with the referenced functions, then the OS would not know which to pick (ld knows because they are explicit specified). Arne