Subject: 19980511 -current build on sparc failed in gnu/usr.bin/gcc/common
To: None <current-users@NetBSD.ORG>
From: Erik E. Fair <fair@clock.org>
List: current-users
Date: 05/11/1998 23:30:40
all ===> gnu/usr.bin/gcc/common

[much compiling elided - eef]

ranlib libcc1.a
lint -chapbxz -I/usr/src/gnu/usr.bin/gcc/common
-I/usr/src/gnu/usr.bin/gcc/commo
n/../arch -I/usr/src/gnu/usr.bin/gcc/common/../arch/sparc
-I/usr/src/gnu/usr.bin
/gcc/common -i bc-emit.c
In file included from
/usr/src/gnu/usr.bin/gcc/common/../arch/sparc/xm-netbsd.h:
3,
                 from /usr/src/gnu/usr.bin/gcc/common/../arch/sparc/config.h:4,
                 from bc-emit.c:22:
/usr/src/gnu/usr.bin/gcc/common/../arch/sparc/xm-sparc.h:48: alloca.h: No
such f
ile or directory
*** Error code 1

Stop.

The errant header file says:

/* If compiled with Sun CC, the use of alloca requires this #include.  */
#ifndef __GNUC__
#include "alloca.h"
#endif

Why isn't __GNUC__ defined?

	curious,

	Erik <fair@clock.org>