Re: How do I know if...
lsorense@csclub.uwaterloo.ca (Lennart Sorensen) writes:
> On Tue, Jan 10, 2006 at 07:40:05PM +0100, Alejandro Exojo wrote:
> > El S?bado, 7 de Enero de 2006 21:21, Robert Cates escribi?:
> > > Hi,
> > >
> > > I have not yet successfully installed an AMD64 port (tried several
> > > times, but keep getting a kernel panic for some reason), but when I do,
> > > I'd like to know and be sure that I'm using 64-bit mode, and not 32-bit
> > > mode. How can I check this to make sure I'm running the AMD64 port
> > > installation in 64-bit mode?
> >
> > Maybe dpkg-architecture? (is in the dpkg-dev package)
>
> echo $MACHTYPE seems good too.
That's the best I've seen yet. It also correctly differentiates
between amd64 and a x86 chroot.
--
Carl Johnson carlj@peak.org
Reply to: