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?
> > 
> > It always uses the native format.  amd64 == 64 bit, i386 == 32 bit
> 
> 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'. 

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

Attachment: pgpttgmE43OV0.pgp
Description: PGP signature

Reply via email to