public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Cogen <cogen@ll.mit.edu>
To: egcs@cygnus.com
Subject: Re: Multi-threaded Applications Crash
Date: Wed, 31 Mar 1999 23:46:00 -0000	[thread overview]
Message-ID: <199903251423.JAA14714@ll.mit.edu> (raw)
Message-ID: <19990331234600.hXvorO9zdh1-lEKfdv__wvESxRhJCYem4kyxv8H5-yg@z> (raw)
In-Reply-To: <36F96CB5.CA23A24D@dvv.ru>

> >
> > 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

  reply	other threads:[~1999-03-31 23:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-24 14:46 Pyle, Mike
1999-03-24 14:53 ` Dima Volodin
     [not found]   ` < 36F96CB5.CA23A24D@dvv.ru >
1999-03-25  6:32     ` David Cogen [this message]
     [not found]       ` < 199903251423.JAA14714@ll.mit.edu >
1999-03-25  6:39         ` Dima Volodin
1999-03-31 23:46           ` Dima Volodin
1999-03-31 23:46       ` David Cogen
1999-03-31 23:46   ` Dima Volodin
1999-03-31 23:46 ` Pyle, Mike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199903251423.JAA14714@ll.mit.edu \
    --to=cogen@ll.mit.edu \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).