From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 1 07:11:36 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 7671116A420 for ; Wed, 1 Mar 2006 07:11:36 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from gate.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 210A043D60 for ; Wed, 1 Mar 2006 07:11:35 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by gate.bitblocks.com (8.13.4/8.13.1) with ESMTP id k217BZo9030592 for ; Tue, 28 Feb 2006 23:11:35 -0800 (PST) (envelope-from bakul@bitblocks.com) Message-Id: <200603010711.k217BZo9030592@gate.bitblocks.com> To: freebsd-amd64@freebsd.org Date: Tue, 28 Feb 2006 23:11:35 -0800 From: Bakul Shah Subject: i386 programs in ports 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: Wed, 01 Mar 2006 07:11:36 -0000 Is there a way to build i386 ports on a amd64 machine so that they will *run* on the same machine? I can fiddle with individual programs and make them work by copying required shared libs to /usr/lib32 etc. but I am hoping for a painless solution! Ideally almost all 386 pkgs should just install and work. Second, why does ldd fail on 32 bit binaries? As I understand it, ldd simply runs the program being ldd'ed after setting some env. variables. So may be the fix is not too hard.... We need a i386 binaries on amd64 FAQ page! Thanks! -- bakul