Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 12:50:50 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?
Message-ID:  <44ljdqevth.fsf@be-well.ilk.org>
In-Reply-To: <201003171636.o2HGaEwn029337@dc.cis.okstate.edu> (Martin McCormick's message of "Wed, 17 Mar 2010 11:36:14 -0500")
References:  <201003171636.o2HGaEwn029337@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin McCormick <martin@dc.cis.okstate.edu> writes:

> 	One thing I discovered while trying this command out on
> various systems is that if the system was originally built using
> i386 code, it reports as i386 even though there is a 64-bit
> platform struggling to get out.

That sounds correct to me.  It's reporting the architecture of the OS,
not of the CPU, and that's what you actually need to know.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



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