Re: How to build ports, using a version of clang installed from

看板FB_questions作者時間11年前 (2014/07/09 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
On Wed, 9 Jul 2014 10:44:33 +1200, Stephen Woolerton wrote: > I wish to compile a version of clang from ports, and then use that > to build all my ports. First you have to install the desired clang version from ports. The binaries will usually have a version suffix to distinguish them from the binaries supplied with the v10 OS. Then you should be able to add the following to /etc/make.conf: .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/clang33) CC=clang33 CXX=clang++33 CPP=clang-cpp33 .endif (This is just an assumption regarding names, please check! I don't have access to a v10 system at the moment.) More info here: https://wiki.freebsd.org/PortsAndClang You can "translate" this concept to clang: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JlDFJ7a (FB_questions)
文章代碼(AID): #1JlDFJ7a (FB_questions)