For the record: The Solaris GCC version I am currently looking at is:
% pkginfo SFWgcc
PKGINST: SFWgcc
NAME: gcc - GNU Compiler Collection
CATEGORY: system
ARCH: sparc
VERSION: 2.95.3,REV=2001.08.14.05.14
BASEDIR: /opt
VENDOR: www.gnu.org
DESC: GNU Compiler Collection
PSTAMP: freeware20010814063536
INSTDATE: Aug 23 2002 18:05
HOTLINE: Please contact the owners of this software
STATUS: completely installed
FILES: 323 installed pathnames
8 shared pathnames
2 linked files
18 directories
22 executables
50795 blocks used (approx)
From what I can tell packaged by Sun.. Probably the package from the companion
CD. Would not at all be suprised if this is patched by Sun to add a -pthread
option.
Regards
Henrik
Guido Serassio wrote:
> I take a look on gcc.gnu.org, and after same searches, I have found some
> confusing reference to a -pthreads gcc option on SPARC/Solaris, but nothing
> is listed in official gcc command options.
>
> I have found too a -pthread option on PowerPC/AIX, may be related to AIX
> problems ?
>
> Regards
>
> Guido
>
> >What you can try if your GCC does not support the -pthreads option is to
> >simply comment out the Solaris GCC specific section for pthreads.
> >
> >
> >Regards
> >Henrik
> >
> >On Tue, 22 Oct 2002, Guido Serassio wrote:
> > > When building, I get the following error:
> > >
> > > gcc: unrecognized option `-pthreads'
> > >
> > > > gcc --version
> > >
> > > 2.95.3
> > >
> > > > uname -a
> > >
> > > SunOS sunrise 5.8 Generic_108529-14 i86pc i386 i86pc
> > >
> > > Regards
> > >
> > > Guido
> > >
> > >
> > >
> > > -
> > > =======================================================
> > > Serassio Guido
> > > Via Albenga, 11/4 10134 - Torino
> >
> > - ITALY
> >
> > > E-mail: guido.serassio@serassio.it
> > > WWW: http://www.serassio.it
>
> -
> =======================================================
> Serassio Guido
> Via Albenga, 11/4 10134 - Torino -
> ITALY E-mail: guido.serassio@serassio.it
> WWW: http://www.serassio.it
Received on Tue Oct 22 2002 - 11:47:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:59 MST