Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: aarch64 sizeof



On Sun, Aug 26, 2018 at 06:52:53PM +0100, Robert Swindells wrote:
> 
> What is the size of long on aarch64 ?
> 

When using the gcc-based toolchain here with the following program:

"""
#include <stdio.h>
int main (int argc, char **argv) { printf("%zu %zu\n", sizeof(long),
sizeof(int)); return 0; }
"""

# ./test             
8 4


So, it's what I'd expect.

> I tried setting up the headers to be able to build kernels with SLJIT
> but am getting an error that looks like there is a mismatch between
> whatever type is being used for sljit_sw and a pointer.

What did that involve doing?


Home | Main Index | Thread Index | Old Index