From owner-freebsd-emulation Wed Jan 12 11:29:10 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 7598814BF7 for ; Wed, 12 Jan 2000 11:29:01 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id UAA45158; Wed, 12 Jan 2000 20:28:49 +0100 (CET) (envelope-from olli) Date: Wed, 12 Jan 2000 20:28:49 +0100 (CET) Message-Id: <200001121928.UAA45158@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-emulation@FreeBSD.ORG Reply-To: freebsd-emulation@FreeBSD.ORG Subject: Re: DUAL-brand ELF binaries X-Newsgroups: list.freebsd-emulation In-Reply-To: <85ie6g$13m2$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Vladimir B. Grebeschikov wrote in list.freebsd-emulation: > Is there theoretical problem to make dual-brand binaries ? > > real situation: I need FreeBSD program with linux libraries That's not possible, if my understanding of matters is correct. Someone please correct me if I'm wrong. :-) FreeBSD and Linux binaries use different syscall mappings. The appropriate mapping is selected by the exec() call and stays the same for the whole process during its lifetime. If you want to mix FreeBSD binaries and Linux libraries, the mapping would have to be switched "on the fly" during code execution inside the process. This is currently not supported, AFAIK, and I guess it would be non-trivial to implement without a significant performance hit. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message