Angstrom linux distribution in the sd card what i first got bb is 32 bit or 64bit???

Hello bb familly,

I have a simple question.

I googled for a long time but i couldn’t find bit size of Angstrom linux distribution.

This information is really important for me so, I have to know that, but… I couldn’t find it.

So, is it 32 bit? or 64 bit??

Hi,

Distinction between 32 bit or 64 bit architectures are for x86 processors.

Here we have ARM processor. The TI AM3359 of the BBB is an Cortex-A8 so 32 bit (http://en.wikipedia.org/wiki/ARM_architecture#Cores)
For the ARM processor, the distinction is more on the hardware Floating Point Unit (ARMhf).

Here’s a quick snippet of code that casts a little insight into a few data sizes:

`
#include <stdio.h>

int main(int argc, char ** argv)
{
int i;
long int j;
void* v;
printf("%lu\n", sizeof(i));
printf("%lu\n", sizeof(j));
printf("%lu\n", sizeof(v));
}
`

Save the code in a file called sizeofdata.c and compile and run like so:
cc sizeofdata.c -o sizeofdata
./sizeofdata

Mark