Subject: Re: gcc 2.95 on netbsd alpha
To: None <port-alpha@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-alpha
Date: 11/20/2000 13:21:06
In article <MSGID_242=3A7600=2F1_39eb0960@fido.de>,
	tobi@bland.fido.de (Tobias Ernst) writes:
> Has anyone managed to get gcc 2.95 going on NetBSD/Alpha?

I didn't try so far.

> cc -c  -DIN_GCC -DHAIFA    -O2  -DHAVE_CONFIG_H  \
> (lots of define and include stuff deleted)
>   /usr/pkgsrc/lang/gcc/work/gcc-2.95.2/gcc/protoize.c
> In file included from /usr/pkgsrc/lang/gcc/work/gcc-2.95.2/gcc/system.h:149,
>                  from /usr/pkgsrc/lang/gcc/work/gcc-2.95.2/gcc/protoize.c:60:
> /usr/include/unistd.h:270: syntax error before `fd_set'
> /usr/include/unistd.h:302: syntax error before `u_long'
> gmake[1]: *** [protoize.o] Error 1

I suppose it is using the wrong configuration file for NetBSD alpha. You
should check the output of "make configure" - invoked in the package
directory, not in the source tree - and check that.

	Kind regards

-- 
Matthias Scheler                                         http://core.de/~tron/