Subject: Re: NetBSD /AMD64
To: None <robert@kormar.net>
From: TATEOKA Takamichi <tate@cs.uec.ac.jp>
List: netbsd-users
Date: 07/19/2005 19:09:09
> I'm preparing to install NetBSD /AMD64 in hopefully a pure 64-bit
> environment, on an Athlon 64 platform, and I was wondering - how can one see
> and be sure that you're running in 64-bit (mode)? Will it show me in dmesg?
If you mean that a pure 64-bit environment is LP64 (Long and Pointer
are 64-bit), you can see different outputs with i386 from following C
code:
printf("long: %d\n", (int) sizeof(long));
printf("int *: %d\n", (int) sizeof(int *));
Thanks,
Takamichi Tateoka (tate@cs.uec.ac.jp)