Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 20:31:22 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        Matthew Fleming <mdf@FreeBSD.org>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Building with gcc?
Message-ID:  <20131125013122.GE1627@glenbarber.us>
In-Reply-To: <CAMBSHm-k%2B6md05aEJXLnGbbyg-WScseqLfjrpRutC4TFk7ir5Q@mail.gmail.com>
References:  <CAMBSHm-k%2B6md05aEJXLnGbbyg-WScseqLfjrpRutC4TFk7ir5Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131125013122.GE1627>