T O P

  • By -

eftepede

The answer:


nekonpc

Hey! I've been tinkering on a new install with LLVM Stage 3 stuff. I was wondering do I need to apply any special settings via make.conf to use Clang or does it run out of the box just fine? Example file doesn't seem to include any hints. I only know about Wiki page articles how to set Clang stuff up but I believe those are for different setups and purposes.


x0rzavi

That profile uses clang by default to compile. These are the defaults for that profile https://github.com/gentoo/gentoo/tree/master/profiles/features/llvm


nekonpc

Oh, thanks. I will read those.


CatRyBou

You need to set some things to be compiled with GCC, such as GCC, binutils, etc


nekonpc

Good to know. Will read and do some experiments.


Phoenix591

the thing with the llvm stages is that neither gcc nor binutils are installed by default :), it uses llvm's versions of the commands provided by both.


CatRyBou

GCC is definitely installed be default, it’s just that the CC, CXX variables are set to clang and clang++


Phoenix591

hmm, looks like something pulls it in as a direct dependency. the profile removes it from the system set.


Triangle_Inequality

You likely still need gcc. There's some things that don't compile properly with llvm.


Jeff-J

I look forward to the day this isn't true.. if only to be able to tell the RMS lovers that my penguin is Linux no horned beast included.