Hello. I downloaded sdllvm 17.0.2 I am looking at use guide in one of the included PDF documents and when i make simple file it doesn't compile:
user@machine:~/qcom$ ./sdllvm/bin/clang test.c -o test -target aarch64-linux-gnu --sysroot=sdllvm/aarch64-linux-gnu/libc -fuse-ld=qcld Fatal: cannot read file crtbeginS.o
Fatal: Linking had errors.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Do I need to download something else? By the way i am also intending to build linux with LLVM=1 passed and i get missing header file error
EDIT: solved. I had to pass -nostdlib