Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8597

Troubleshooting • Re: uname 64/32 bit

$
0
0
You are checking the correct way to find if kernel is 32-bit or 64-bit.
But the wrong way if you care about whether the userland part of OS is 32-bit or 64-bit.
There are numerous ways to do this. My preference is:

Code:

getconf LONG_BIT
OOH... that is one i'll have to remember. I'm having problems with a 3rd party tool on the 64 bit version and was wondering if there was a problem with the rpi imager as i was starting to think that it was writing the 64 bit version each time i asked for the 32 bit one. Problem solved :)

Statistics: Posted by nachte — Wed Jan 31, 2024 12:43 pm



Viewing all articles
Browse latest Browse all 8597

Trending Articles