From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 28 20:53:52 2005 Return-Path: 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 4BF9416A4D0 for ; Mon, 28 Feb 2005 20:53:52 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id F272E43D46 for ; Mon, 28 Feb 2005 20:53:50 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.13.3/8.13.3) with ESMTP id j1SKrnQr058876; Mon, 28 Feb 2005 21:53:49 +0100 (CET) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.13.3/8.13.1) with ESMTP id j1SKrxYF073521; Mon, 28 Feb 2005 21:53:59 +0100 (CET) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.13.3/8.13.1/Submit) id j1SKrwBZ073520; Mon, 28 Feb 2005 21:53:58 +0100 (CET) (envelope-from ftigeot) Date: Mon, 28 Feb 2005 21:53:58 +0100 From: Francois Tigeot To: freebsd-amd64@freebsd.org Message-ID: <20050228205358.GA73467@aoi.wolfpond.org> References: <16931.17425.441677.617748@canoe.dclg.ca> <20050228181056.GC69361@aoi.wolfpond.org> <20050228195158.GC59327@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050228195158.GC59327@dragon.nuxi.com> User-Agent: Mutt/1.4.2.1i Subject: Re: ia32 ports... X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 20:53:52 -0000 On Mon, Feb 28, 2005 at 11:51:58AM -0800, David O'Brien wrote: > On Mon, Feb 28, 2005 at 07:10:56PM +0100, Francois Tigeot wrote: > > On Mon, Feb 28, 2005 at 11:17:21AM -0500, David Gilbert wrote: > > > Having wrestled with a few ports (including java) on amd64, what I > > > don't understand is why we don't have the capability to compile ia32 > > > versions of ports that won't compile in amd64 mode... > > > > It would be even better to have an option to compile amd64 binaries with > > 32-bit pointers. > > Unclean code would be able to run an still benefit from the amd64 > > architectural improvements (more registers, better abi, etc...) > > The extra registers (and thus ABI) is not supported in 32-bit mode for > compatability reasons. I know that. What I meant was not to compile to i386 but to amd64 with 32-bit pointers. The binary would technically still be a 64-bit one. This page explains the mechanism: http://alpha.caspur.it/C++6.3A_DOC/uguhdr.htm#xtaso_sec It was possible to compile "32-bit limited" applications on the Alpha, which was a 64-bit only architecture. I don't know if it is possible on amd64. I'm not sure I'm very clear either. -- Francois Tigeot