Hello,

it's entirely possible to replace gcc for clang for *most* packages, however 
some will not build currently and will require you to set up a package.env file 
with entries for those packages (like described on clang's wiki entry). Clang 
usually compiles faster than GCC does, but produces slower binaries (at least 
for me). Also, clang offers flto=thin, which doesn't require as much ram as 
gcc's lto

Regards,
Rasmus

Sent from ProtonMail mobile

-------- Original Message --------
On 30 Apr 2017, 12:11, wrote:
Hi,

before I do a lot of reconfiguring, recompiling and finally
do the same thing again in the opposite direction:

What are the experiences to replace gcc with clang for either
only userland tools or the whole system (with haveing gcc as
fallback)?
Is it worth the effort?
What are the benefits and the drawbacks?

Thanks for any input in advance!
Cheers
Meino

Reply via email to