From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 08:03:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 212AD16A41B for ; Tue, 30 Oct 2007 08:03:42 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id B1A9413C481 for ; Tue, 30 Oct 2007 08:03:41 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3524583pyb for ; Tue, 30 Oct 2007 01:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=CyjeNPIk3EHhojkhw8pQE6ZSoVN79MBDIkDAduo+dtY=; b=m/Eje/x+dmXiHD3QEINuqCPESM3FDqwTbX+kJZ2FWDN9xRP64bcj1qKR1SmFWBx29NCXQn1dHR+ZI4WqiRk42vGdQiJ1o2UBhCB6U+yGA549+0l8l3KkJwchOkZY1nQcJhPVzo317pehxd7jlnTOsm+exFSlr4XX9PbIOPnCrXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=RWNZodnS+npUJFBSUqq3Z46zSACn/GEGwtm5EpcKcGt/dIcyIh6wGgIJAogqssMzIEHc/pw+NIVZu+8rK74nYZLUDnwq2kai2Kst9S8Flf7bPlrdWz6d9Nlikbq+41KzqsNlfKNkMA1u7rKmjjaXwXHAHa8/T8uRL1CnS31HWWk= Received: by 10.65.74.9 with SMTP id b9mr14808765qbl.1193729964538; Tue, 30 Oct 2007 00:39:24 -0700 (PDT) Received: by 10.65.231.2 with HTTP; Tue, 30 Oct 2007 00:39:24 -0700 (PDT) Message-ID: Date: Tue, 30 Oct 2007 09:39:24 +0200 From: "David Naylor" Sender: naylor.b.david@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 75ca68f3985e1dfb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ABI for i386 binaries under FreeBSD-amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 08:03:42 -0000 Hi, I have seen that recently on the mailing list there has been a discussion on running i386 FreeBSD binaries under an amd64 system. As far as I have been able to read there does not appear to be anyway of achieving this except though either a chroot/jail or vitalization. I think this is a short fall of FreeBSD currently as there are still proprietary i386 programs for FreeBSD that people may want to use under FreeBSD. For me it is the Unreal Tournament series that all have i386 binaries (running under Linux ABI). (I do not think this short fall is of any major significance as the majority of programs people use can be compiled under ports. Thank you for such a wonderful infrastructure, truly a jewel for FreeBSD). Onto my questions (most appropriate since this is the freebsd-questions mailing list :-): 1) Is it possible to set up something along the lines of the Linuxulator for i386 binary support including a ghost file hierarchy under /compat/freebsd-i386 (or something more appropriate)? This should not be too hard as the kernel already has i386 support. 2) Could the above also be extended to give support for running i386 and amd64 Linux binaries under FreeBSD (with an additional directory hierarchy under /compat?)? 3) With the appropriate files under /compat would it be reasonably easy to set up a cross-architecture build system with ports, where all cross-compiled ports are installed under /compat? Could someone please add the above ideas to the Project Ideas page provided they are of sufficient quality. Thank you for listening to me. David