From owner-freebsd-current@FreeBSD.ORG Sat Sep 21 11:42:21 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 498BE3BD; Sat, 21 Sep 2013 11:42:21 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 096862A18; Sat, 21 Sep 2013 11:42:21 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:5b:71c5:b3bc:c366]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 1CD4B4AC57; Sat, 21 Sep 2013 15:42:19 +0400 (MSK) Date: Sat, 21 Sep 2013 15:42:16 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1739775195.20130921154216@serebryakov.spb.ru> To: Sean Bruno Subject: Re: Doing it wrong: Building world with lang/clang-devel In-Reply-To: <1379702370.2402.3.camel@localhost> References: <1379702370.2402.3.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2013 11:42:21 -0000 Hello, Sean. You wrote 20 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2013 =D0=B3.,= 22:39:30: SB> wow, that didn't work at all. :-) SB> I set these in make.conf: SB> CC=3D/usr/local/bin/clang SB> C++=3D/usr/local/bin/clang++ SB> CPP=3D/usr/local/bin/clang++ SB> It exploded pretty badly: SB> http://people.freebsd.org/~sbruno/doingitwrong.txt SB> Any reason that this shouldn't work? Try XCC=3D/usr/local/bin/clang XCXX=3D/usr/local/bin/clang++ XCPP=3D/usr/local/bin/clang++ COMPILER_TYPE=3Dclang It should work, at least, in theory. --=20 // Black Lion AKA Lev Serebryakov