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: [email protected]
To: [email protected]
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
>

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to