Subject: Re: gcc3's cpp not defining __GNUC__
To: None <tech-pkg@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 07/16/2003 13:22:20
	Actuall.. not fixed. bugger.

On Wed, 16 Jul 2003, David Brownlee wrote:

> 	'Fixed' this by regenerating configure using autoconf2.57 rather
> 	than 2.13
>
> On Sat, 12 Jul 2003, David Brownlee wrote:
>
> > 	gcc3's cpp does not appear to define __GNUC__.
> > `	This chokes at least audio/mserv's configure script as it
> > 	tries to cpp a testfile containing several #include<>s, which
> > 	themselves include sys/cdefs.h, which hits the #error in the
> > 	following:
> >
> > #if !defined(_STANDALONE) && !defined(_KERNEL)
> > #ifdef __GNUC__
> > #define __RENAME(x)     ___RENAME(x)
> > #else
> > #ifdef __lint__
> > #define __RENAME(x)     __symbolrename(x)
> > #else
> >  #error "No function renaming possible"
> > #endif /* __lint__ */
> > #endif /* __GNUC__ */
> > #else /* _STANDALONE || _KERNEL */
> > #define __RENAME(x)     no renaming in kernel or standalone environment
> > #endif
> >
> > 	Should cpp be defining __GNUC__?
> >
> >
>
>

-- 
		David/absolute          -- www.netbsd.org: No hype required --