This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Egcs-1.0.3a uses sys/cdefs.h, but doesn't have it.
- To: Pavel dot Roskin at ecsoft dot co dot uk
- Subject: Re: Egcs-1.0.3a uses sys/cdefs.h, but doesn't have it.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 20 Jul 1998 23:18:59 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <80256647.005EC7BA.00@chopin.ecsoft.co.uk>you write:
>
>
>
> Hello!
>
> I tried to compile egcs-1.0.3a on HP-UX 10.20. This machine has gcc-2.7.2.3
> in /opt/gcc but without libg++. I also has a lot of libraries installed in
> /home/proski/local. CONFIG_SITE = /home/proski/local/etc/config.site
> defines prefix = /home/proski/local. Sources of egcs are placed into
> /home/proski/local/src/egcs-1.0.3a. Directory
> /home/proski/local/src/egcs-1.0.3a/libraries/libio/sys doesn't exist at
> all. There was a file /home/proski/local/include/sys/cdefs.h as the error
> happened, but then I removed it and reran configure and make. libio still
> failed to compile with the same error message:
I would recommend against trying to use CONFIG_SITE. Doing so hides
configure options from us, which makes it impossible for us to
duplicate your problem (the first step necessary to fix your problem.
The particular error you're getting would indicate that libio mis-
configured itself. _G_HAVE_SYS_CDEFS should not be defined since
hpux10.20 does not have /usr/include/sys/cdefs.h
Note I build and install on hpux10.20 regularly.
jeff