https://wiki.gentoo.org/wiki/Clang#sudo ... _not_foundClang is not added to /usr/bin and instead lives in a separate path that is added to the PATH variable.
So, why /usr/bin/gcc, but not /usr/bin/clang?
https://wiki.gentoo.org/wiki/Clang#sudo ... _not_foundClang is not added to /usr/bin and instead lives in a separate path that is added to the PATH variable.
Yeah, that does have problems when it comes to updating current shells every time (aka won't get new llvm PATH until relogin, or source /etc/profile, and those that don't or can't use /etc/profile need to update manually every time). Albeit that's only on "major" version numbers and isn't /that/ frequent with llvm.pjp wrote:I'm now noticing /etc/env.d and... that looks like a nightmare. Hard coding versions into a path variable seems like a bad alternative to a /usr/bin/clang link.