From owner-freebsd-amd64@FreeBSD.ORG Sun Jun 12 23:20:26 2005 Return-Path: X-Original-To: freebsd-amd64@hub.freebsd.org Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D813A16A41C for ; Sun, 12 Jun 2005 23:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B248F43D1D for ; Sun, 12 Jun 2005 23:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5CNKQVt023115 for ; Sun, 12 Jun 2005 23:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5CNKQAF023114; Sun, 12 Jun 2005 23:20:26 GMT (envelope-from gnats) Date: Sun, 12 Jun 2005 23:20:26 GMT Message-Id: <200506122320.j5CNKQAF023114@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Steve Kargl Cc: Subject: Re: amd64/82178: missing 32bit subsystem X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Steve Kargl List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 23:20:27 -0000 The following reply was made to PR amd64/82178; it has been noted by GNATS. From: Steve Kargl To: morgothdbma Cc: freebsd-gnats-submit@freebsd.org Subject: Re: amd64/82178: missing 32bit subsystem Date: Sun, 12 Jun 2005 16:12:03 -0700 On Sun, Jun 12, 2005 at 10:10:11PM +0000, morgothdbma wrote: > > >Synopsis: missing 32bit subsystem > each time I want to run FreeBSD i386 binary I have answer > that I haven't ld-elf32.so, I copied that library where system > wanted me to, but now it wants libc.so.5, I cannot replace my 64bit > libc.so with 32bit libc.so, mayby I shoul copy all 32bit files > somewhere like /usr/32bit_world or something else. > I don't know, can U tell me how to setup a 32bit subsytem inside > 64bit system, I want at least run simple C programs. BTW: is there > 32bit/64bit linux emulation in FreeBSD 5.4 amd64 Please read the freebsd-amd64 mailing list archive. There is ample information there to help answer your problem. In short, install the source tree. Add WITH_LIB32=yes to /etc/make.conf. Add options COMPAT_IA32 #Compatible with i386 binaries options LINPROCFS options COMPAT_43 options COMPAT_LINUX32 to your kernel configuration file. Follow the instructions in /usr/src/UPDATING on procedure for updating your system. After the system has rebooted, install the linux ports you want. You'll definitely want linux-XFree86-libs-4.3.99.902_2 XFree86 libraries, Linux binary linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386) -- Steve