DragonFly users List (threaded) for 2009-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: how to switch compiler versions
Saifi Khan schrieb:
On Thu, 5 Nov 2009, Alex Hornung wrote:
I agree with Sascha, there is no point in an external tool. It's easy enough
to either set CCVER in make.conf
or just build with CCVER=... make ...
Alex, thank you for your reply.
One quick newbie query,
once i install clang/llvm on a box running 2.5.1-DEVELOPMENT,
can i just specify CCVER=clang make ... ?
You can.
Here's a small patch that makes world build with clang (kernel should
build out of the box):
http://leaf.dragonflybsd.org/~swildner/world_clang.diff
To build world, do:
env WORLD_CCVER=clang make -DNO_GCC44 -DNO_WERROR buildworld
For the kernel, likewise:
env WORLD_CCVER=clang make buildkernel KERNCONF=...
Regards,
Sascha
--
http://yoyodyne.ath.cx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]