Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2019 11:17:12 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        nonameless@ukr.net
Cc:        current@freebsd.org
Subject:   Re: Stop installing /usr/bin/clang
Message-ID:  <20190816081712.GN2738@kib.kiev.ua>
In-Reply-To: <1565934978.346522000.fx5o0ase@frv52.fwdcdn.com>
References:  <20190815164815.GK2738@kib.kiev.ua> <1565934978.346522000.fx5o0ase@frv52.fwdcdn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 16, 2019 at 08:57:13AM +0300, nonameless@ukr.net wrote:
> I see the same thing with base /usr/bin/ld and /usr/local/bin/ld from binutils.
Yes but a direct ld use is very rare. When it is needed, usually the
level of hackery applied is already high enough for the user to already
know what she does.  I did not see it causing issues practically, while
multiple clangs in the path cause real problems.

> 
> --- Original message ---
> From: "Konstantin Belousov" <kostikbel@gmail.com>
> Date: 15 August 2019, 19:48:37
> 
> Please look at https://reviews.freebsd.org/D21060
> I propose to stop installing /usr/bin/clang, clang++, clang-cpp.
> 
> It probably does not matter when all your software comes from ports or
> packages, but is actually very annoying when developing on FreeBSD.
> In particular, you never know which `clang' is called in the user
> environment, because it depends on the $PATH elements ordering.
> 
> To clear some confusion: this has nothing to do with not installing
> compiler from base, /usr/bin/c{c,++,pp} are still there after the change
> is applied.  It only to make clang on par with gcc, and to remove one
> thing that was quite time-consuming in multi-target environment for me
> during porting something large in FreeBSD userspace.
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190816081712.GN2738>