From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 22:00:19 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 B9C25106566C for ; Thu, 26 Jun 2008 22:00:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 2DBF48FC14 for ; Thu, 26 Jun 2008 22:00:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m5QM09Ym001377; Fri, 27 Jun 2008 00:00:10 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 8525EBAC9; Fri, 27 Jun 2008 00:00:09 +0200 (CEST) Date: Fri, 27 Jun 2008 00:00:09 +0200 From: Roland Smith To: Tim Daneliuk Message-ID: <20080626220009.GB5666@slackbox.xs4all.nl> References: <4863F317.6010701@tundraware.com> <4863F4A7.1070909@FreeBSD.org> <4863F5A3.6050209@tundraware.com> <4863FC2A.5040909@FreeBSD.org> <4864015C.7010805@tundraware.com> <48640A12.3000108@FreeBSD.org> <48640AB9.9000303@tundraware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <48640AB9.9000303@tundraware.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Kris Kennaway , FreeBSD Mailing List 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 22:00:19 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 26, 2008 at 04:31:37PM -0500, Tim Daneliuk wrote: > >> 1) How does make world know whether to build 32-bit or 64-bit binaries? > >=20 > > It always uses the native format. amd64 =3D=3D 64 bit, i386 =3D=3D 32 = bit >=20 > Don't mean to beat this to death, but can you say just a bit more > about this please. If I am running an i386 kernel on 64-bit capable > processor, I assume I will get 32-bit binaries or not? IOW, what > triggers makeworld to do something in 32- vs. 64-bit mode? The > *kernel* currently executing or the underlying hardware capability? Normally, the currently running system. The makefile in /usr/src calls 'uname -p' to determine this. However, it is possible to do a cross-build (build kernel and world for another architecture). Google 'cross-building FreeBSD'.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhkEWkACgkQEnfvsMMhpyXvkgCcD3c9Q9T4cZl9PhNIpt0kEe0b afIAn2MEl2QUGYqvoREAN7arkaPbbWZv =O8yw -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--