From owner-freebsd-emulation Sat Apr 17 19:51:28 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from atdot.dotat.org (atdot.dotat.org [150.101.89.3]) by hub.freebsd.org (Postfix) with ESMTP id 9CD4C14FB1 for ; Sat, 17 Apr 1999 19:51:23 -0700 (PDT) (envelope-from newton@atdot.dotat.org) Received: (from newton@localhost) by atdot.dotat.org (8.9.2/8.7) id MAA71142; Sun, 18 Apr 1999 12:17:19 +0930 (CST) From: Mark Newton Message-Id: <199904180247.MAA71142@atdot.dotat.org> Subject: Re: brandelf and crossbuilding To: pfgiffun@bachue.usc.unal.edu.co (Pedro F. Giffuni) Date: Sun, 18 Apr 1999 12:17:18 +0930 (CST) Cc: freebsd-emulation@FreeBSD.ORG In-Reply-To: <371944F1.7A3267E5@bachue.usc.unal.edu.co> from "Pedro F. Giffuni" at Apr 17, 99 09:35:30 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Pedro F. Giffuni wrote: > I am playing a bit with the linux SVR4 emulation libraries. It says > there that the libc_s stuff for the emulator can be built with the stock > ELF compiler. Any one has a qualified opininon on why this shouldn't (or > should) work? In theory it should work; ELF is ELF, after all, regardless of the compiler that generates it. > While everything seems to build fine, I would like to be able to > brandelf them to svr4, however our brandelf doesn't yet support a svr4 > type (I am using 3.1-R). If it's something trivial, please don't wait > until after the emulator is released and shipped ;-). Two things: 1. You don't need to brandelf libraries, only executables. 2. You can make brandelf shove anything at all into the brand section by using "brandelf -f -t insert-brand-here /file/name" Note that SysVR4 currently uses "SVR4" as its brand, not "svr4". I might change this at some point, though. UNIX keyboards aren't meant to have shift keys on them, after all :-) - mark -------------------------------------------------------------------- I tried an internal modem, newton@atdot.dotat.org but it hurt when I walked. Mark Newton ----- Voice: +61-4-1620-2223 ------------- Fax: +61-8-82231777 ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message