[squeak-dev] FFI | Byte alignment

Marcel Taeumel marcel.taeumel at hpi.de
Fri May 29 17:18:28 UTC 2020


Ha! So #isUnix but not #isARM? I can work with that. :-)

Best,
Marcel
Am 29.05.2020 19:16:22 schrieb tim Rowledge <tim at rowledge.org>:


> On 2020-05-29, at 8:37 AM, Nicolas Cellier 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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200529/eb3caafb/attachment.html>


More information about the Squeak-dev mailing list