Date: Mon, 23 Jan 2017 13:00:29 -0800 (PST) From: "Jeffrey Bouquet" <jbtakk@iherebuywisely.com> To: "Dimitry Andric" <dim@FreeBSD.org> Cc: "current" <current@freebsd.org> Subject: Re: command line environment and port to equal CURRENT clang? Message-ID: <E1cVlj3-0000EQ-5m@rmm6prod02.runbox.com> In-Reply-To: <4350E7F0-7CDD-4B82-902A-7C65D1C45B59@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Jan 2017 20:18:18 +0100, Dimitry Andric <dim@FreeBSD.org> wrote: > On 23 Jan 2017, at 05:32, Jeffrey Bouquet <jbtakk@iherebuywisely.com> wro= te: > >=20 > > ... that may work in /usr/src/sbin for example? > > make clang=3D[/usr/ports/lang/??]clang-foo clang+ depend; make; # s= o that a buildworld is not needed? > > or that would have to be created as a feature.. >=20 > The following appears to work: >=20 > pkg install llvm39 > export CC=3D/usr/local/bin/clang39 > export CXX=3D/usr/local/bin/clang++39 > export CPP=3D/usr/local/bin/clang-cpp > cd /usr/src/sbin > make obj > make depend > make >=20 > Note that this may pick up the wrong versions of libraries, so do not > be amazed if stuff blows up. >=20 > Also note that clang in base has a few patches which might not be in the > port, so you could also run into unexpected bugs in the port. >=20 > -Dimitry Thanks. pkg fetch is on the fourth 'timeout' to fetch the file, though, I emailed the pkg@freebsd.org list... wget -c -nd in this case did not help either, u= nless that is more tricks to learn.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1cVlj3-0000EQ-5m>