Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4714

Troubleshooting • Bookworm build of Tiny C Compiler (TCC) fails

$
0
0
From : https://github.com/sellicott/tcc-riscv32 -- or https://github.com/Tiny-C-Compiler/mirror-repository -
  • Pi 3B, Buster Desktop 32-bit - Builds
  • Pi 4B 1GB, Bookworm Desktop 32-bit - Fails
On both -

Code:

git clone https://github.com/sellicott/tcc-riscv32.gitcd tcc-riscv32./configuremake
The 'make' starts okay on the 4B but then -

Code:

../tcc -c tcov.c -o tcov.o -B.. -I..In file included from tcov.c:1:In file included from /usr/include/stdio.h:27:In file included from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33:In file included from /usr/include/features.h:513:/usr/include/arm-linux-gnueabihf/gnu/stubs.h:7: error: include file 'gnu/stubs-soft.h' not found
Looks to me like something which should have been provided by the native GCC toolchain but that's just guessing.

Any ideas ?

Statistics: Posted by hippy — Sat May 25, 2024 6:51 pm — Replies 2 — Views 94



Viewing all articles
Browse latest Browse all 4714

Trending Articles