Subject: Re: Compiling an kernel with egcs?
To: None <>
From: Todd Vierling <tv@NetBSD.ORG>
List: current-users
Date: 04/12/1998 21:35:12
On Sun, 12 Apr 1998, Todd Vierling wrote:

: : >I allready tried -Wno-main before I send the mail to current-user, but that
: : >doesn't fix the error.
: : 
: : That's a bug; I'm pretty sure it's also a bug that was fixed in the original
: : patches I sent in, so it may have been introduced by accident.

I've changed the default Makefile.${ARCH} files to add -Wno-main to the end
of the warn flags only iff your compiler is gcc 2.8 or egcs.  Whether a port
needs -ffreestanding and not just -Wno-main (probably not until the future)
will be up to portmasters.

-- Todd Vierling (Personal; Bus.