Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2008 00:00:09 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Tim Daneliuk <tundra@tundraware.com>
Cc:        Kris Kennaway <kris@freebsd.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Making World For amd64
Message-ID:  <20080626220009.GB5666@slackbox.xs4all.nl>
In-Reply-To: <48640AB9.9000303@tundraware.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080626220009.GB5666>