Re: Possible to replace gcc-runtime libraries & libgcc #gplv3 #yocto #llvm


Khem Raj
 



On Tue, Jan 17, 2023 at 11:58 AM Alexander Kanavin <alex.kanavin@...> wrote:
On Tue, 17 Jan 2023 at 20:55, Khem Raj <raj.khem@...> wrote:
> You can do it to certain extent with meta-clang. Select RUNTIME =
> "llvm" in local.conf after including it. However, this is not going to
> be drop-in replacement due to some packages ( e.g. glibc )
> still not buildable with llvm + llvm-runtime and there are more
> components depending upon what you distro uses it might be more to
> consider. Its perhaps easier to get C++ runtime using libc++
> than say replacing libgcc and crt init files, which might need more work.

Changing gcc to clang should be done for technical reasons, I would
rather not give this advice to address what seems like an incomplete
understanding of the licensing situation.

I was merely replying to question about if llvm could replace it. For licensing related question I refrain because I don’t have expertise in that it’s best to consult some one who knows this stuff and understands it. Least I will misguide someone



Alex

Join yocto@lists.yoctoproject.org to automatically receive all group messages.