You are not logged in.

#1 2017-09-06 13:48:18

shadetux
Member
Registered: 2017-09-06
Posts: 1

Question about llvm-lib and clang

Hey guys!

I have a most likely noob question about the llvm-lib and it's relation to clang.
As I understand clang is a C++ frontend to the llvm compiler.
But clang only has llvm-libs(runtime libraries) as a dependency not llvm itself.
As far as I know clang generates llvm compatible 'bytecode' that can be used by llvm to
generate executeables trought the backend.
So my main question is : what is the difference between llvm-libs and llvm? What does each have that the other don't?

Thx in advance!

Offline

#2 2017-09-07 05:48:19

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Question about llvm-lib and clang

It contains LLVM toochain binaries (llvm-*) and C header files. You can see the list if you go to https://www.archlinux.org/packages/extra/x86_64/llvm/ and click "View the file list for llvm" link.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB