From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 21:29:29 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 06E0610656AB for ; Thu, 26 Jun 2008 21:29:29 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id A73E08FC38 for ; Thu, 26 Jun 2008 21:29:28 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.2/8.14.2) with ESMTP id m5QLTKfP044882 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 26 Jun 2008 16:29:20 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <48640A30.8040200@tundraware.com> Date: Thu, 26 Jun 2008 16:29:20 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Erik Trulsson , FreeBSD Mailing List References: <4863F317.6010701@tundraware.com> <4863F4A7.1070909@FreeBSD.org> <4863F5A3.6050209@tundraware.com> <4863FC2A.5040909@FreeBSD.org> <4864015C.7010805@tundraware.com> <20080626211915.GA65600@owl.midgard.homeip.net> In-Reply-To: <20080626211915.GA65600@owl.midgard.homeip.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-tundraware.com-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m5QLTKfP044882 X-tundraware.com-MailScanner: Found to be clean X-tundraware.com-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: Subject: Re: Making World For amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 21:29:29 -0000 Erik Trulsson wrote: >> 1) How does make world know whether to build 32-bit or 64-bit binaries? > > It will build for whatever system you have installed. > If you are running a 32-bit system it will make 32-bit binaries, and if > you are running a 64-bit system it will make 64-bit binaries. > By "running", you mean which kernel is booted, I presume. > >> 2) Can a binary from a 32-bit FreeBSD system be run unmodified on the >> 64-bit system? > > Assuming the 32-bit system is 'i386' and the 64-bit system is 'amd64' then > you are supposed to be able to do so (but I don't know how well it works in > practice). Otherwise no. (Running a i386 binary on a sparc64 system won't > work.) Right. I should have been more clear. It would be unreasonable to expect binaries for entirely different machine architecture to run on other kinds of machinery. My question was limited to x86 class machines. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/