Annotation of wikisrc/tutorials/pkgsrc_clang.mdwn, revision 1.2
1.1 wiki 1: When building NetBSD, you can set
5: to also build clang and install it, and additionally
9: if you want to use it to compile NetBSD itself during build.sh.
11: When you have a NetBSD compiled this way, you can set
13: PKGSRC_COMPILER= clang
14: CLANGBASE= /usr
1.2 ! wiz 15: HAVE_LLVM= yes
1.1 wiki 16:
17: in your /etc/mk.conf to use it. You must do that before building
18: packages, especially libtool. It's usually fine to link binaries
19: generated from gcc to those generated with clang or vice versa.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb