Annotation of wikisrc/tutorials/pkgsrc_clang.mdwn, revision 1.2

1.1       wiki        1: When building NetBSD, you can set
                      2: 
                      3:     MKLLVM=yes
                      4: 
                      5: to also build clang and install it, and additionally
                      6: 
                      7:     HAVE_LLVM=yes
                      8: 
                      9: if you want to use it to compile NetBSD itself during build.sh.
                     10: 
                     11: When you have a NetBSD compiled this way, you can set
                     12: 
                     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