From owner-freebsd-amd64@FreeBSD.ORG Fri Oct 13 04:32:16 2006 Return-Path: X-Original-To: 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 BBF2B16A403 for ; Fri, 13 Oct 2006 04:32:16 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta05ps.mx.bigpond.com (omta05ps.mx.bigpond.com [144.140.83.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2750B43D58 for ; Fri, 13 Oct 2006 04:32:15 +0000 (GMT) (envelope-from andrew@areilly.bpa.nu) Received: from areilly.bpa.nu ([141.168.2.3]) by omta05ps.mx.bigpond.com with ESMTP id <20061013043210.ITAL22583.omta05ps.mx.bigpond.com@areilly.bpa.nu> for ; Fri, 13 Oct 2006 04:32:10 +0000 Received: (qmail 72607 invoked by uid 501); 13 Oct 2006 04:30:34 -0000 Date: Fri, 13 Oct 2006 14:30:34 +1000 From: Andrew Reilly To: Pete French Message-ID: <20061013043034.GA71990@duncan.reilly.home> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: 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: Fri, 13 Oct 2006 04:32:16 -0000 On Thu, Oct 12, 2006 at 03:30:29PM +0100, Pete French wrote: > > 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. > > Hmmm, now what I am about to suggest is probably going to sound stupid, > but when I need to run a 32 bit executable under 64 bit I dont bother with > all that library junk, I simply static link it. So would it not be possible > just to produce a staticly linked wine executable and install that ? No > need for library ports and fixing dynamic linking or any of that stuff. > It's always worked fine for me with my own code, I dont see why it couldnt > be applied to ports too. > > How hard is it to tell wine (or any other port) to build staticly when it is > being compiled on an i386 box ? That won't work with wine, I'm fairly certain. In order to look sufficiently similar to a Windows environment, you have to have something that looks like DLLs. Wine, just like Windows, has a gazillion dynamically loadable libraries, for that reason. Run-time linking is very much part of the windows experience... Cheers, -- Andrew