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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 24, 2013 at 5:31 PM, Glen Barber <gjb@freebsd.org> wrote:

> 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):
> >
> > WITHOUT_CLANG=YES
> > WITH_GCC=YES
> > WITH_GNUCXX=YES
> >
> > and I started a buildworld.  It's currently building clang.
> >
> > Why is it building clang?
> >
>
> You also want WITHOUT_CLANG_IS_CC=YES.  I have no reasonable explanation
> for why it is different.
>
> You'll also need:
>     W_ERROR=
>     NO_WERROR=YES



Whoops.  I had known about WITH_CLANG_IS_CC back when it wasn't yet the
default.  Somehow I didn't make the connection to having to reverse it now.
 Seems to be working as I expect now.

Thanks,
matthew



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