This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: solaris 2.6 compiling problems
- To: Mate Wierdl <mw at wierdlmpc dot msci dot memphis dot edu>
- Subject: Re: solaris 2.6 compiling problems
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 03 Mar 2000 04:05:47 -0300
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <20000302150630.A3250@moni.msci.memphis.edu>
On Mar 2, 2000, Mate Wierdl <mw@wierdlmpc.msci.memphis.edu> wrote:
> /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2.1/specs
> I am trying to install gcc-2.95.2 on my solaris 2.6 box, which has
> ../../gcc-2.95.2/gcc/libgcc2.c:3171: `PTHREAD_ONCE_INIT' undeclared
> (first use in this function)
Looks like you're having conflicts between the `fixinclude'd version
of some Solaris 2.4 headers with headers from Solaris 2.6 that didn't
need any fixing.
You'd better download some pre-compiled GCC for Solaris 2.6 and use it
to build whatever other version you want with it. Another option
would be to run fixincludes from GCC 2.7.2.1 on Solaris 2.6, and add
the directory this produces to the -isystem header path. But, AFAIR,
GCC 2.7's fixincludes has some problems with Solaris 2.6's headers, so
the first option is better.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaranį
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me