From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Cogen To: egcs@cygnus.com Subject: Re: Multi-threaded Applications Crash Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: <199903251423.JAA14714@ll.mit.edu> References: <36F96CB5.CA23A24D@dvv.ru> X-SW-Source: 1999-03n/msg00815.html Message-ID: <19990331234600.hXvorO9zdh1-lEKfdv__wvESxRhJCYem4kyxv8H5-yg@z> > > > > 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 error: /data/hancock0/cogen/gnu/include/g++/stl_alloc.h:73: pthread.h: No such file or directory The info files mention a "-mthreads" option. I tried that but the option is rejected by the compiler. -- DavidC