From owner-freebsd-stable Tue Aug 8 1:57:33 2000 Delivered-To: freebsd-stable@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id EAD5C37B69A for ; Tue, 8 Aug 2000 01:57:04 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id PAA35635; Tue, 8 Aug 2000 15:56:42 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Tue, 8 Aug 2000 15:56:42 +0700 (NSS) From: Max Khon To: Eugene Grosbein Cc: stable@FreeBSD.ORG Subject: Re: Linking both aout and elf libraries In-Reply-To: <398FC68B.657C9F0C@svzserv.kemerovo.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! On Tue, 8 Aug 2000, Eugene Grosbein 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. that's not what original poster wanted to achieve. your binary is pure aout binary. he wanted to link both aout and elf together /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message