[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] FWD: Can't build for riscv64 or arm64
From: |
Sagar Acharya |
Subject: |
[Tinycc-devel] FWD: Can't build for riscv64 or arm64 |
Date: |
Thu, 2 Feb 2023 13:43:08 +0100 (CET) |
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 (got "__uint128_t"
/usr/include/bits/signal.h is as follows:
typedef struct {
__uint128_t vregs[32];
unsigned int fpsr;
unsigned int fpcr;
}
I'm on void (musl based) on RPI3 (aarch64)
Thanking you
Sagar Acharya
https://designman.org
Date: 2 Feb 2023, 15:40
From: sagaracharya@tutanota.com
To: tinycc-devel@nongnu.org
Subject: Can't build for riscv64 or arm64
> Dear folks,
>
> I am unable to build tcc for riscv64 cpu.
>
> I get an error in
> bcheck.c:1077: warning: implicit declaration of function '__ctype_b_loc'
> error: pointer expected
>
> Any help in appreciated. Thanks.
>
> Thanking you
> Sagar Acharya
> https://designman.org
>