This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: sys/cdefs.h required by gcc 2.95.3 but not 2.95.2. Why? Bug?
- To: TC <home_cray at yahoo dot com>
- Subject: Re: sys/cdefs.h required by gcc 2.95.3 but not 2.95.2. Why? Bug?
- From: Bernd Schmidt <bernds at cambridge dot redhat dot com>
- Date: Tue, 20 Mar 2001 15:07:24 +0000 (GMT)
- Cc: <gcc-bugs at gcc dot gnu dot org>
On Mon, 19 Mar 2001, TC wrote:
> On my Solaris 8 box, time.h, wait.h, resource.h, and socket.h are all there
> in /usr/include/sys. cdefs.h is missing but required by gcc 2.95.3 when
> compiling any C++ program that uses iostream.
>
> gcc 2.95.2 does not look for cdefs.h but gcc 2.95.3 does (see
> /usr/local/sparc-sun-solaris-2.8/include/_G_config.h.) On a different
> platform, you need to replace sparc-sun-solaris-2.8 by your HW specific
> subdirectory.
I can see nothing in the 2.95.2-2.95.3 patch that would cause this. Are
you quite sure that you have installed the two compilers in the same way,
and that you are using them in the same way?
Bernd