From owner-freebsd-current Fri Mar 15 14:42:02 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA07998 for current-outgoing; Fri, 15 Mar 1996 14:42:02 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA07985 for ; Fri, 15 Mar 1996 14:41:47 -0800 (PST) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id OAA28692 for ; Fri, 15 Mar 1996 14:41:34 -0800 Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.6.12/8.6.12) with ESMTP id OAA02426; Fri, 15 Mar 1996 14:40:12 -0800 Message-Id: <199603152240.OAA02426@austin.polstra.com> To: "JULIAN Elischer" cc: freebsd-current@freebsd.org Subject: Re: Elfkit release 1.1 is now available In-reply-to: Your message of "Fri, 15 Mar 1996 14:27:17 PST." <199603152227.OAA23502@ref.tfs.com> Date: Fri, 15 Mar 1996 14:40:11 -0800 From: John Polstra Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Julian wrote: > > You can compile and link arbitrary programs, as long as they use only > > libc. (The other libraries aren't converted yet.) The output of the > > linker is a standard, dynamically-linked ELF executable. You can also > > build ELF shared libraries. > > Can one system have elf AND a.out style dynamic libraries at the one time? > how can you tell them appart? Currently, all of the ELF stuff is confined to its own directory tree, "/usr/local/elf". It is completely independent of the standard system files, including the a.out shared libraries. The ELF compiler, assembler, and linker are, essentially, like cross-development tools. The compiler finds its own include files under "/usr/local/elf", and the linker and dynamic linker find their libraries under "/usr/local/elf". Thus there's no confusion between the ELF libraries and the a.out libraries. If you run an a.out program, the a.out dynamic linker gets invoked, and it finds the a.out shared libraries in the standard places. If you run an ELF program, the ELF dynamic linker gets invoked, and it finds the ELF shared libraries in different (ELF-specific) places. > Is there a possibility of mixed a.out and elf libraries for Static > linking? or is that impossible? You mean, a single library that contains both a.out and ELF object modules in it? I'm not going to say it's impossible -- but why would you want it? -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth