From owner-freebsd-current@FreeBSD.ORG Sun Sep 22 21:53:09 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 56EC8536; Sun, 22 Sep 2013 21:53:09 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 96D4D287D; Sun, 22 Sep 2013 21:53:08 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r8MLr7Ah028112; Sun, 22 Sep 2013 16:53:07 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.7/8.14.7/Submit) id r8MLr75Z028111; Sun, 22 Sep 2013 16:53:07 -0500 (CDT) (envelope-from brooks) Date: Sun, 22 Sep 2013 16:53:07 -0500 From: Brooks Davis To: Lev Serebryakov Subject: Re: Doing it wrong: Building world with lang/clang-devel Message-ID: <20130922215307.GG62197@lor.one-eyed-alien.net> References: <1379702370.2402.3.camel@localhost> <1739775195.20130921154216@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RE3pQJLXZi4fr8Xo" Content-Disposition: inline In-Reply-To: <1739775195.20130921154216@serebryakov.spb.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Sean Bruno , "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Sep 2013 21:53:09 -0000 --RE3pQJLXZi4fr8Xo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 21, 2013 at 03:42:16PM +0400, Lev Serebryakov wrote: > Hello, Sean. > You wrote 20 ???????????????? 2013 ??., 22:39:30: >=20 > SB> wow, that didn't work at all. :-) >=20 > SB> I set these in make.conf: >=20 > SB> CC=3D/usr/local/bin/clang > SB> C++=3D/usr/local/bin/clang++ > SB> CPP=3D/usr/local/bin/clang++ >=20 > SB> It exploded pretty badly: >=20 > SB> http://people.freebsd.org/~sbruno/doingitwrong.txt >=20 > SB> Any reason that this shouldn't work? > Try >=20 > XCC=3D/usr/local/bin/clang > XCXX=3D/usr/local/bin/clang++ > XCPP=3D/usr/local/bin/clang++ > COMPILER_TYPE=3Dclang >=20 > It should work, at least, in theory. You will likely also need -WITHOUT_FORMAT_EXTENSIONS. -- Brooks --RE3pQJLXZi4fr8Xo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFSP2bCXY6L6fI4GtQRAlteAJ4zqRel3jcLN2sztvUbmG6dSyHZaQCeP/qv uTXSr/XSVkziChfq7xf4ejI= =dWNE -----END PGP SIGNATURE----- --RE3pQJLXZi4fr8Xo--