From owner-freebsd-stable Tue Aug 8 1:35:33 2000 Delivered-To: freebsd-stable@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 57B2D37B70D for ; Tue, 8 Aug 2000 01:35:23 -0700 (PDT) (envelope-from eugen@svzserv.kemerovo.su) Received: from svzserv.kemerovo.su (kost.svzserv.kemerovo.su [213.184.65.82]) by www.svzserv.kemerovo.su (8.9.3/8.9.3) with ESMTP id QAA81058 for ; Tue, 8 Aug 2000 16:35:16 +0800 (KRAST) (envelope-from eugen@svzserv.kemerovo.su) Message-ID: <398FC68B.657C9F0C@svzserv.kemerovo.su> Date: Tue, 08 Aug 2000 16:36:27 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: stable@FreeBSD.ORG Subject: Re: Linking both aout and elf libraries References: <398E9E37.9E3A482B@cequrux.com> <200008071625.JAA39374@vashon.polstra.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Polstra wrote: > > In article <398E9E37.9E3A482B@cequrux.com>, Graham Wheeler > wrote: > > > Is there a way to build the system so that a single executable can > > be linked against both aout format and elf format libraries? Yes, it is. I have such system. It's 3.5-STABLE. It has all compatXX installed AND /usr/lib/aout filled with contents of /usr/lib of living 2.2.8-RELEASE, here are static a.out libraries (and another copy of shared :) Now I can say 'export OBJFORMAT=aout; make' and get runnable a.out binary. I used this to link my applications with old commercial a.out libraries that had not new elf variant. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message