Open drula opened 2 months ago
@drula thanks for trying meta-clang out and reporting the issue you observed. I am not entirely clear what could be causing this error. I am guessing you are on a release and I would suggest that you try master branch and see if you still run into this error.
Secondly, what is your build host, perhaps that will provide some leads maybe.
Thirdly try yoe distro, it uses clang as default compiller and see if it works out ok for your case.
and try setting
# Use clang as default compiler
TOOLCHAIN ?= "clang"
# Build clang into SDK as well
CLANGSDK = "1"
# Use compile-rt/libcxx/libunwind as default runtime libraries
TC_CXX_RUNTIME ?= "llvm"
RUNTIME ?= "llvm"
I'm trying to use Clang for my C++ project in Yocto. I've added the following to the recipe for my project:
But I got an error during the configuration of the C++ compiler: cannot find
crtbeginS.o
and-lgcc
.