This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sys/cdefs.h required by gcc 2.95.3 but not 2.95.2. Why? Bug?


Here is what I did on my Solaris 8/SPARC box on
03/19/01:

1) I got gcc 2.95.3 from sunfreeware.com
2) I used pkgrm to uninstall gcc 2.95.2.
3) I installed gcc 2.95.3 using pkgadd -d
4) I got the sys/cdefs.h missing error when compiling
any C++ file that uses iostream.
5) I uninstalled gcc 2.95.3 using pkgrm.
6) I installed gcc 2.95.2 using pkgadd -d
7) I can compile all my C++ programs that use iostream
without any complains that there is a missing
sys/cdefs.h.
8) I went once more through this install/uninstall
process with the same results.
9) Steve who maintains sunfreeware.com suggested to
ask people at gcc-bugs@gcc.gnu.org.

Is there someone that can make this work on his SPARC
running Solaris 8?

Gregor



--- Bernd Schmidt <bernds@cambridge.redhat.com> wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]