Re: Compiling with gcc42 / reverting to CC

From: David O'Brien <obrien_at_freebsd.org>
Date: Wed, 12 Sep 2007 16:12:49 -0700
On Tue, Sep 11, 2007 at 06:18:39PM -0700, Brooks Talley wrote:
> I have a 7.0-current box that's been updated to the latest HEAD, and I
> need to rebuild the kernel.  However, someone has helpfully configured
> the box to use GCC42 for make, and that's failing because 1) kern.mk
> has a CWARNFLAGS definition that GCC42 hates (-fformat-extensions), and
> 2) __FreeBSD_cc_version is not defined.

Now sure what you mean by "configured the box to use GCC42".  What does
'/usr/bin/cc -v' say?  If 3.4.*, you can build with 'make -DWITH_GCC3'.

-- 
-- David  (obrien_at_FreeBSD.org)
Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?
Let's not play "Jeopardy-style quoting"
Received on Wed Sep 12 2007 - 21:43:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC