orange...@nongnu.org
[mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of Detlef
Riekenberg
Sent: Friday, February 03, 2023 19:11
To: tinycc-devel@nongnu.org
Subject: *** SPAM *** Re: [Tinycc-devel] FWD: Can't build for riscv64 or arm64
Hi Sagar
tcc has no support for 128bit int
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
After make clean
I configured with
--cpu=riscv64 --config-musl
On make, I get the following error,
There are 2 signal.h files, one in
/usr/include/ and
/usr/include/bits/
When building lib/bt-exe.c , it imports ../tccrun.c
Which throws error
/usr/include/bits/signal.h:14: error ';' expected