Raspberry Pi port, piCore-15.0 is available!
/usr/local/bin/ld: cannot find crtbeginS.o: No such file or directory
...What does “clang -v” give before and after the above?
clang version 19.1.0Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /tmp/tcloop/clang/usr/local/binBuild config: +assertionsSystem configuration file directory: /usr/local/etc/clang "/tmp/tcloop/clang/usr/local/bin/clang-19" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -dumpdir a- -disable-free -clear-ast-before-backend -main-file-name a.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/home/tc/fenstim/examples-v -fcoverage-compilation-dir=/home/tc/fenstim/examples -resource-dir /tmp/tcloop/clang/usr/local/lib/clang/19 -internal-isystem /tmp/tcloop/clang/usr/local/lib/clang/19/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcolor-diagnostics -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/a-bd359c.o -x c a.cclang -cc1 version 19.1.0 based upon LLVM 19.1.0 default target x86_64-unknown-linux-gnuignoring nonexistent directory "/include"#include "..." search starts here:#include <...> search starts here: /tmp/tcloop/clang/usr/local/lib/clang/19/include /usr/local/include /usr/includeEnd of search list. "/usr/local/bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -pie -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /usr/lib/Scrt1.o /usr/lib/crti.o crtbeginS.o -L/tmp/tcloop/clang/usr/local/lib/clang/19/lib/x86_64-unknown-linux-gnu -L/lib/../lib64 -L/lib -L/usr/lib /tmp/a-bd359c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed crtendS.o /usr/lib/crtn.o/usr/local/bin/ld: cannot find crtbeginS.o: No such file or directory/usr/local/bin/ld: cannot find -lgcc: No such file or directory/usr/local/bin/ld: cannot find -lgcc: No such file or directoryclang: error: linker command failed with exit code 1 (use -v to see invocation)
programs: =/tmp/tcloop/clang/usr/local/binlibraries: =/tmp/tcloop/clang/usr/local/lib/clang/19:/tmp/tcloop/clang/usr/local/lib/clang/19/lib/x86_64-unknown-linux-gnu:/lib/../lib64:/lib:/usr/lib
sudo ln -s /usr/local/lib/gcc/ /usr/lib/