From owner-freebsd-amd64@FreeBSD.ORG Thu Oct 12 07:00:07 2006 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57DA216A407 for ; Thu, 12 Oct 2006 07:00:07 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta02ps.mx.bigpond.com (omta02ps.mx.bigpond.com [144.140.83.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F73743D5A for ; Thu, 12 Oct 2006 07:00:05 +0000 (GMT) (envelope-from andrew@areilly.bpa.nu) Received: from areilly.bpa.nu ([141.168.2.3]) by omta02ps.mx.bigpond.com with ESMTP id <20061012070003.XMYV16502.omta02ps.mx.bigpond.com@areilly.bpa.nu> for ; Thu, 12 Oct 2006 07:00:03 +0000 Received: (qmail 49494 invoked by uid 501); 12 Oct 2006 06:58:29 -0000 Date: Thu, 12 Oct 2006 16:58:29 +1000 From: Andrew Reilly To: Scot Hetzel Message-ID: <20061012065829.GA49071@duncan.reilly.home> References: <200610120630.k9C6UJdK057840@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610120630.k9C6UJdK057840@freefall.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-amd64@FreeBSD.org Subject: Re: amd64/104311: ports/wine should be installable on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 07:00:07 -0000 On Thu, Oct 12, 2006 at 06:30:19AM +0000, Scot Hetzel wrote: > The technical problem is that to build wine under amd64, you need to > be able to build 32bit libraries for all of wine's dependant ports. > > You can make wine run on amd64, but you must first build it on i386. > Then copy it to your amd64 system, including all of the library > dependancies (untested). That's what I thought, although I haven't needed Wine for so long that I haven't tried it, yet. > Wine64 (the 64bit version of wine) will not build on FreeBSD/amd64 due > to it needs someone to write the code to save/restore the cpu > registers. Wine64 will only run 64bit windows applications, you won't > be able to run 32bit windows applications on wine64. Not very interesting, then :-) > If wine is important to you, then you have 3 choices: > > 1. submit patches to create the lib32-* library ports and the > necessary patches to Mk/bsd.ports.mk and emulators/wine to allow it to > build on the amd64 architecture. > > 2. Set your system to dual boot FreeBSD/amd64 and FreeBSD/i386. > > 3. Reinstall your system with FreeBSD/i386 only. 4. Set up a FreeBSD/i386 build environment inside a qemu (or similar) virtual session. 5. Build it and make a package on another (i386) pc. 6.(?) There seems to have been some discussion about doing Linux-i386 builds within the linuxulator. Emulating windows on a linux emulation isn't such a stretch :-) [Personally, I think that option 1 going to be very useful and quite widely applicable, and therefore bound to happen sooner or later. The win32 binary video codec afficianados will probably get there first...] Cheers, -- Andrew