Clang/LLVM revision 169451

Dimitry Andric dim at FreeBSD.org
Mon Dec 17 11:50:54 UTC 2012


On 2012-12-17 09:36, Sam Fourman Jr. wrote:
>> No, there is no one-click merge script, it needs humanoid help, I'm
>> afraid. :-)  Is there any reason you cannot just install the port, or
>> if that is too outdated, just checkout from llvm.org directly and build
>> it?
>
> is it currently possible to build FreeBSD world, without clang and
> then build clang from ports?

There is no real need, as you can just put /usr/local/bin before
/usr/bin in your PATH, but if you really want to do so, you can put the
following in /etc/src.conf:

CC=gcc
CXX=g++
CPP=gcpp
WITHOUT_CLANG=

 From then on, you build world with gcc, which will also be installed as
/usr/bin/cc again.


More information about the freebsd-current mailing list