This is the mail archive of the
mailing list for the GCC project.
Re: Multi-threaded Applications Crash
- To: egcs at cygnus dot com
- Subject: Re: Multi-threaded Applications Crash
- From: David Cogen <cogen at ll dot mit dot edu>
- Date: Thu, 25 Mar 1999 09:32:29 -0500
> > Is there such a flag?
> On Sparc, -pthreads takes care of it all. On other Solaris platforms, I'd like
> to see this flag incorporated into the mainstream distribution. And, of course,
> _POSIX_PTHREAD_SEMANTICS should be there too.
What is "-pthreads"? It is not in g++ info files. How did you discover this? I
tried it anyway. It seemed to be accepted by the compiler, but I got the
/data/hancock0/cogen/gnu/include/g++/stl_alloc.h:73: pthread.h: No such file
The info files mention a "-mthreads" option. I tried that but the option is
rejected by the compiler.