Building with gcc?
Matthew Fleming
mdf at FreeBSD.org
Mon Nov 25 02:00:38 UTC 2013
On Sun, Nov 24, 2013 at 5:31 PM, Glen Barber <gjb at 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
More information about the freebsd-hackers
mailing list