[parisc-linux] gcc-3.2 failed to compile kernel

John David Anglin dave@hiauly1.hia.nrc.ca
Wed, 26 Jun 2002 12:21:24 -0400 (EDT)


> joel.soete@freebel.net wrote:
> > In file included from pacache.S:44:
> > /Develop/parisc-linux/src/linux-2.4.18-pa40/include/asm/cache.h:9: 1/config.h
> >   :
> > No such file or directory
> 
> The offending line is:
>       8 #include <linux/config.h>
> 
> I'll assume "linux" being #define'd to 1.
> gcc predefines perhaps?

Yes, the predefine is standard and is present in gcc 3.0.4, etc.  You can
see macro defines using the "-dM -E" option.

However, the macro should not be expanded inside <> or "".  Joel, can you
file a PR <http://gcc.gnu.org/cgi-bin/gnatsweb.pl>?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)