From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 25 01:31:25 2013 Return-Path: Delivered-To: freebsd-hackers@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 ESMTPS id EBCE2161; Mon, 25 Nov 2013 01:31:25 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C31DA21A5; Mon, 25 Nov 2013 01:31:25 +0000 (UTC) Received: from glenbarber.us (70.15.88.86.res-cmts.sewb.ptd.net [70.15.88.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 250CF13DDB; Mon, 25 Nov 2013 01:31:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 250CF13DDB Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Sun, 24 Nov 2013 20:31:22 -0500 From: Glen Barber To: Matthew Fleming Subject: Re: Building with gcc? Message-ID: <20131125013122.GE1627@glenbarber.us> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ns7jmDPpOpCD+GE/" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 01:31:26 -0000 --Ns7jmDPpOpCD+GE/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 24, 2013 at 05:28:05PM -0800, Matthew Fleming wrote: > I'm trying to test a change to gcc, and I'd like to do a full > buildworld/buildkernel using the gcc compiler. So I added this to my > /etc/src.conf (and make.conf, since I can't remember under which scenarios > they're different): >=20 > WITHOUT_CLANG=3DYES > WITH_GCC=3DYES > WITH_GNUCXX=3DYES >=20 > and I started a buildworld. It's currently building clang. >=20 > Why is it building clang? >=20 You also want WITHOUT_CLANG_IS_CC=3DYES. I have no reasonable explanation for why it is different. You'll also need: W_ERROR=3D NO_WERROR=3DYES Glen --Ns7jmDPpOpCD+GE/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJSkqhpAAoJELls3eqvi17QoCIP/3gcdyqxwJxA+ZCTxmaEVNuP gw4Ixhtr+ntgUO/hsb5Q4MgJ6UywixJgPyKBV3K3XhgUjbSeTqsGgwSexEFDnvJn qi04he9xkxRNEH3oJ32MGeFjPuUdhRGWz4KDPoJiIM/uALHtY38j55Vj3l6gCpRu I04JEMEhFNJw2cepz6LwVncV45hSIcHwR3zmCquFDvBm7JGpQGzdjuGTztIrLJCY sMWeth7S30w6Sndd3jYvvkQg7SOVVyjjrd3H0lz+i01bmtDooeTy/De/pdpADBgN cqo1fG7BBMG/mfPlXBGNldnwr3Zlvil0t9GtoiWwUJoJMIcvISerLDBDstEko6xD yhBaCuP45YhGtydOXceN+FItVut5XkIMcuO0i1xpeGpgLS8yJRTnE4rfC4p0UVgY gnqbJN5oW7F6CulVfGsJnBI2S4jQ0CL6bNXVEwXSMfmddNE6FaKyYpTnZLfZJUyL nnWrnGnihR6K2dUcdMfQWoFGZQma1GPA6BZkit6j4nJK7MF5TddPDk1uGLnic8uR hCiX7JzopUg9W1FsCwxGAl/gZpV1n/dSo6zP6Zuqk1eQg/x2k5osDxaspsan2FgZ tZPnFRTH7zrxcHw6CmUJyqLN+g4Mx2cm0vdayjiW8hqXwcHOgR0Dg0rQ0k7MExY5 2D+8s7i8Zt8Nw5/Pjwqa =ZaLK -----END PGP SIGNATURE----- --Ns7jmDPpOpCD+GE/--