[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] FWD: Can't build for riscv64 or arm64
From: |
Detlef Riekenberg |
Subject: |
Re: [Tinycc-devel] FWD: Can't build for riscv64 or arm64 |
Date: |
Fri, 3 Feb 2023 19:10:58 +0100 |
Hi Sagar
tcc has no support for 128bit int types.
__uint128_t
__int128_t
You might try with a replacement (typedef struct with 2x uint64)
This should be at least enough for the structsize for the typedef in signal.h,
but acessing the elements in the code you try to compile will propably fail
--
Bye bye ... Detlef
> When building lib/bt-exe.c , it imports ../tccrun.c
> Which throws error
>
> /usr/include/bits/signal.h:14: error ';' expected (got "__uint128_t"
>
> /usr/include/bits/signal.h is as follows:
>
> typedef struct {
> __uint128_t vregs[32];
> unsigned int fpsr;
> unsigned int fpcr;