From owner-freebsd-amd64@FreeBSD.ORG Thu Oct 12 14:16:14 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 10EFC16A403 for ; Thu, 12 Oct 2006 14:16:14 +0000 (UTC) (envelope-from mwm-dated-1161526325.c27e33@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id E9F5D43DBB for ; Thu, 12 Oct 2006 14:12:02 +0000 (GMT) (envelope-from mwm-dated-1161526325.c27e33@mired.org) Received: (qmail 38204 invoked by uid 1001); 12 Oct 2006 14:12:05 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Thu, 12 Oct 2006 10:12:05 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17710.19765.93325.631579@bhuda.mired.org> Date: Thu, 12 Oct 2006 10:12:05 -0400 To: Andrew Reilly In-Reply-To: <20061012065829.GA49071@duncan.reilly.home> References: <200610120630.k9C6UJdK057840@freefall.freebsd.org> <20061012065829.GA49071@duncan.reilly.home> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer 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 14:16:14 -0000 In <20061012065829.GA49071@duncan.reilly.home>, Andrew Reilly typed: > > 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 :-) The official wine wiki page on Wine64 starts by saying "This port is not yet functional", and gives a long list of problems. That would make it seem that answer to the OP's question might be "It won't get here until the wine people finish the port." > > 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. The package has to include the dependency libs down to the system level - and instructions on how to install 32-bit versions of the system library. > 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 :-) Since both Wine and the linuxolartor are compatability layers rather than emulators, this shouldn't be to bad. In particular, you should be able to install the binaries. > [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...] Yeah, I ran into that with the Perforce port. It needed a 32-bit library, and when trying to install the port it built the 64-bit version, then croaked because it was already installed. Fixing the base system compiler so that '-m32' works properly would be nice as well, and may get done as part of this. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.