Annotation of wikisrc/tutorials/pkgsrc_clang.mdwn, revision 1.1
1.1 ! wiki 1: When building NetBSD, you can set
! 3: MKLLVM=yes
! 5: to also build clang and install it, and additionally
! 7: HAVE_LLVM=yes
! 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
! 16: in your /etc/mk.conf to use it. You must do that before building
! 17: packages, especially libtool. It's usually fine to link binaries
! 18: generated from gcc to those generated with clang or vice versa.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb