[squeak-dev] FFI | Byte alignment

tim Rowledge tim at rowledge.org
Fri May 29 17:16:13 UTC 2020



> On 2020-05-29, at 8:37 AM, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
> 
> Found a 32bits debian VM:
> 
> st at debi9:~$ gcc test_align.c 
> st at debi9:~$ ./a.out 
> size of x = 16
> size of y = 16
> 
> So keep the code, just correct it!

On a 32 bit Raspberry Pi OS machine (note the OS name has officially changed as of this week!)
size of x = 24
size of y = 24


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Fractured Idiom:- J'Y SUIS, J'Y PESTES - I can stay for the weekend




More information about the Squeak-dev mailing list