Re: CLANG; still cc in use when building the WORLD with CLANG?

看板FB_current作者時間14年前 (2011/08/31 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串13/16 (看更多)
On 08/30/11 21:27, Kevin Oberman wrote: > On Tue, Aug 30, 2011 at 11:13 AM, Hartmann, O. > <ohartman@zedat.fu-berlin.de> wrote: >> On 08/30/11 19:58, Dimitry Andric wrote: >>> On 2011-08-30 18:44, Alex Kuster wrote: >>>> Thanks for pointing out those details ! >>>> This whole thing about make.conf& src.conf is very confusing and gives >>>> the >>>> impression of something half ported ... >>> The only thing that is "half ported" at the moment, is an easy "use >>> clang to build world" switch. This will be properly addressed after 9.0 >>> is released. As to the make.conf/src.conf confusion, it is very simple >>> really: >>> >>> - make.conf is used for system-wide settings, applied to every build >>> using make. >>> >>> - src.conf is used for setting FreeBSD source tree settings, which are >>> always of the form WITH_XXX or WITHOUT_XXX. See src.conf(5) for a >>> full list. Any other "make" settings, such as CC, CFLAGS, etc, are >>> better specified in make.conf, though the manpage does not tell you >>> so explicitly. >> This is as I understood the manpage of src.conf. There is only a YES/set and >> NO/unset. > No. There is only set and unset. WITH_option="NO" has the same effect as > WITH_option="YES". > > I think this is confusing and often leads to unintended > consequences, but I and also say that some of the WITH_options documented > for src.conf (the man page is auto-generated from the code) are either > non-functional or broken. I've had some interesting issues with unexpected > interactions of WITH_options, as well. Be very careful! Sorry being so unprecise. I meant WITH_ and WITHOUT_. I learned the hard way that setting a variable to "be set" is simply done by naming it. Well, as I understand your comment, it seems that this /etc/src.conf facilty isn't working properly yet? _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1ENK5-w- (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 13 之 16 篇):
文章代碼(AID): #1ENK5-w- (FB_current)