From owner-freebsd-current@FreeBSD.ORG Sat Jun 30 22:51:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76F6316A41F for ; Sat, 30 Jun 2007 22:51:24 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id 02A2813C45A for ; Sat, 30 Jun 2007 22:51:23 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l5UMpHd6020806; Sun, 1 Jul 2007 08:51:17 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l5UMpFii020805; Sun, 1 Jul 2007 08:51:15 +1000 (EST) (envelope-from peter) Date: Sun, 1 Jul 2007 08:51:15 +1000 From: Peter Jeremy To: Bakul Shah Message-ID: <20070630225115.GW15680@turion.vk2pj.dyndns.org> References: <20070627085526.07E1C5B50@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline In-Reply-To: <20070627085526.07E1C5B50@mail.bitblocks.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-current@freebsd.org Subject: Re: questions re 32bit & 64bit ports in a 64bit world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 22:51:24 -0000 --XWOWbaMNXpFDWE00 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Jun-27 01:55:25 -0700, Bakul Shah wrote: >All the 32 bit ports that I tried so far (all except cvsup) >seem to work fine but they still pick up shared libs from >/usr/local/lib which will cause problems if I now add 64bit >ports. I really don't want to have to recompile and retest >any 32bit port in 64bit mode if it already works well enough. >It would be nice if 32bit ports and 64bit ports can co-exist. >Is this possible? I agree it would be nice but it's not possible at present. The ports infrastructure has no provision for handling the same port installed for different architectures so all your ports need to be either i386 or amd64 for the dependency handling to work. >Is any special set up needed in the 64bit world to >cross-compile for a i386 target? Files such as > are specific to amd64 so one would need to >keep a copy of /usr/include from a 32bit world somewhere. Currently there's no supported way to build i386 executables on amd64. http://lists.freebsd.org/pipermail/freebsd-amd64/2007-April/009812.html contains a list of problems I found when I last tried investigating this. --=20 Peter Jeremy --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGht5j/opHv/APuIcRAmEWAKCtGv2RRFGLvYoqhOR1T4sjtMT8VwCfUzzQ xdmdxkQQy1pjqjQ2D1I97jU= =7jnL -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00--