Sagar Acharya <[email protected]> wrote: > $ riscv64-tcc temp.c > Error: file 'crt1.o' not found > Error: file 'crti.o' not found
I'm not sure whether you've managed to resolve it, allow me to remind you to read what you reposted: > > grischka via Tinycc-devel <[email protected]> wrote: > >As you can see, this riscv64-tcc in order to work wants > >includes, libs, crtx.o for riscv64 in /usr/riscv64-linux-gnu/... > > > >You can install them on debian systems for example with: > > apt install libc6-dev-riscv64-cross > >You can also copy those files from the target system instead. > >You can also make riscv64-tcc look in other places. > >See 'make help' about 'config-extra.mak' > > > >-- gr you need those "C runtime" files from the libc for the target platform - in this case riscv64, the void linux package should be (untested): cross-riscv64-linux-musl-libc you can also cross-build musl for riscv64 with tcc instead
signature.asc
Description: PGP signature
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
