Subject: Re: egcs
To: Kazuki Sakamoto <sakamoto@cec.co.jp>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: port-powerpc
Date: 08/09/1998 21:54:54
On Sun, 9 Aug 1998, Bill Studenmund wrote:
> I've found one buggie. The make file suggests using
> /usr/pkg/lib/gcc-lib/egcs-2.90.29/cpp for cpp (rather than say
> powerpc-netbsd-gcc -E). But that cpp doesn't define __GNUC__ while
> powerpc-netbsd-gcc -E does. Since a number of things in sys/cdefs.h test
> for __GNUC__, I'm not sure about the output we'd get. Oh, the cpp in
> gcc-2.7.2.3 doesn't define __GNUC__ either.
I found this one, and it should be easy to fix. Duh. Our cpp is a shell
script. Which explicitly defines __GNUC__ . :-)
Since lint explicitly calls /usr/libexec/cpp, it still needs a little
work.
Take care,
Bill