Building with gcc?
Glen Barber
gjb at FreeBSD.org
Mon Nov 25 01:31:26 UTC 2013
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
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20131124/1e478a7f/attachment.sig>
More information about the freebsd-hackers
mailing list