1 |
O/H Alan McKinnon έγραψε: |
2 |
> Hi all, |
3 |
> |
4 |
> Sometime in the last month someone posted (in a thread that went wildly |
5 |
> OT) a definite way to determine if an Intel cpu is 32 or 64 bit. |
6 |
> Unfortunately I can't find the post anymore. |
7 |
> |
8 |
> It involved checking the cpu-family, model and flags fields in cpuinfo. |
9 |
> |
10 |
> Could that same kind soul please repost the info? And if possible the |
11 |
> same for AMD? |
12 |
> |
13 |
> |
14 |
> |
15 |
gentoo-wiki's article about safe cflags has the information you want... |
16 |
http://gentoo-wiki.com/Safe_Cflags |
17 |
|
18 |
for pentium4, the ones with the prescott core are 64bit... |
19 |
at /proc/cpuinfo you should see with a prescott: |
20 |
cpu_family:15 |
21 |
model : 3 or 4 |
22 |
|
23 |
you could also look for the pni cpuflag... |
24 |
|
25 |
-- |
26 |
Stratos Psomadakis |
27 |
<psomas@××××××××.gr> |