From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 19:19:35 2008 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 30A93106566B for ; Thu, 28 Aug 2008 19:19:35 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id D76598FC14 for ; Thu, 28 Aug 2008 19:19:34 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so86516ana.13 for ; Thu, 28 Aug 2008 12:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; bh=t9ltuwZ+FT+OmL1t4k2dkFzOt5OLh89wypASZ3R63Ko=; b=t6Q9SaCIfZ6ojJfv3Nd3VgJqsLZ+FewLMDJvewJFKoBvYLWf6gChs71m9uDc20zvHB 89n9i8FJ3chwt177etf1ShElUAQIlK4EuzNDH15qF25Cd0/fdU5oAGkVoKlnVqFu9VB3 iyadVaQrw5/yGjhv8PmqmQirw1OIDPCz4GIrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version :content-type:content-transfer-encoding:content-disposition :x-google-sender-auth; b=WX7/3jYJZxhhyB9ekJduVy9FKdu00h27gOTPV5V4AigINs5w/TZi909VlMuQOVv7xf 6uD7lFWz2JIme/CEiJQySn/m8tRG4vVn5RLKc8gG5VB+WXehu8DmWspbxvMUP7Cgu3Dc xdcKIQNyaU8S56DXUADdGnO53DOiM4bPTUKBo= Received: by 10.100.209.5 with SMTP id h5mr2222381ang.18.1219951173781; Thu, 28 Aug 2008 12:19:33 -0700 (PDT) Received: by 10.101.71.15 with HTTP; Thu, 28 Aug 2008 12:19:33 -0700 (PDT) Message-ID: <539c60b90808281219y5b5f0208pca6ad5254cd998d4@mail.gmail.com> Date: Thu, 28 Aug 2008 12:19:33 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 498dcf16bba1550a Subject: 32-bit fbsd binaries on amd64 (we can already run 32bit linux/fc4 stuff, so this should work, right?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2008 19:19:35 -0000 I've been reading the wine64 wiki. I've also seen some of myself & other's questions in this general direction (not wine specifically, but anything 64 vs 32) go by. Near as I can tell, the big hangup is having 32-bit libs (i.e for X) hanging around on your system. Now, I'm sure, as usual, I'm being naive, but: 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs already? 2) If we don't have the 32-bit libs, is it possible to steal them directly from the corresponding i386 freebsd (as long as we haven't rebuilt our kernel too many times), or should we in all cases be building them (is there a wiki? I'm sure setting the CFLAGS for 32-bit (saw that somewhere) and buildworld is not the right way, unless we manually copy things). 3) Once we have all the libs set up, how does one spoof a port (i.e. linux/fc4-base or, in my case, wine) into building 64-bit? I guess fc4 is easy because it's pretty much a binary download, right, which is not going to be the case for wine, unless maybe we use the pkg.tgz (if we can do that, how would one force a 32-bit pkg to install on amd64?) It sure seems like there's a path to this coming soon. It's not just a matter of wine, I'd like eventually to run matlab64 (which is, of course, in the opposite direction), and I note people working on linuxulator64... In the meantime, I'm going to attempt to get wine going in my fc4 emu, but since I'm a FBSD snob, I consider that a very ugly hack...having to run my FPGA compilers and Matlab in fc4 is insulting enough ;) I was so bloody impressed by the performance difference between wine & kqemu on fedora, however, that I am compelled to try (darn CAD vendors). Best, Steve