which package is the actual clang compiler?

I can’t find or identify which package I need for clang. Under Mint etc. I get packages like clang-3.5 but which of these is the actual compiler?

> zypper search clang         
Loading repository data...
Reading installed packages...

S | Name                          | Summary                                     | Type    
--+-------------------------------+---------------------------------------------+--------
  | gnome-builder-plugin-clang    | Clang plugin for gnome-builder              | package
  | icecream-clang-wrappers       | Distributed Compile Wrappers for Clang      | package
  | libclang                      | Library files needed for clang              | package
  | libclang-32bit                | Library files needed for clang              | package
  | llvm-clang                    | CLANG frontend for LLVM                     | package
  | llvm-clang-devel              | CLANG frontend for LLVM (devel package)     | package
  | python-clang                  | Python bindings for libclang                | package
  | texlive-sclang-prettifier     | Prettyprinting SuperCollider source code    | package
  | texlive-sclang-prettifier-doc | Documentation for texlive-sclang-prettifier | package


I would guess llvm-clang, since a bit of Googling now tells me that:


The goal of the Clang project is to create a new C, C++, Objective C and
Objective C++ front-end for the LLVM compiler. You can get and build the
source today.

So clang is t frontent for llvm, so llvm-clang seems likely.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

so there are no packages that don’t require me to compile it myself?

nvm, llvm-clang does not require compiling.

Hi
Not for clang, use the provides option with zypper;


zypper se -x --provides clang
S | Name       | Summary                 | Type   
--+------------+-------------------------+--------
i | llvm-clang | CLANG frontend for LLVM | package

How did you come to this conclusion?

Because of the quote

The goal of the Clang project is to create a new C, C++, Objective C andObjective C++ front-end for the LLVM compiler. You can get and build the source today.

On 08/11/2016 11:06 PM, Benutzer42 wrote:
>
> Because of the quote
>
>> The goal of the Clang project is to create a new C, C++, Objective C
>> andObjective C++ front-end for the LLVM compiler. You can get and
>> build the source today.

Fair enough, but keep in mind that most packagers will go and get a
description from the project’s homepage and just use it verbatim because,
well, that’s the description of the project from the original authors.
Packagers are often just packagers, not contributors or developers. As a
result, this may be a bit confusing.

A better indication is the type of package (from your first post, the last
column labeled ‘Type’). If it’s source, it’ll indicate as much with
‘srcpackage’ instead of ‘package’.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Good to know, thanks.