This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/12602] -pthreads and -threads undocumented for Solaris
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2003 04:43:51 -0000
- Subject: [Bug driver/12602] -pthreads and -threads undocumented for Solaris
- References: <20031013204500.12602.sebor@roguewave.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12602
------- Additional Comments From gdr at integrable-solutions dot net 2003-10-14 04:43 -------
Subject: Re: New: -pthreads and -threads undocumented for Solaris
"sebor at roguewave dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| PS The suggested documentation might be something along the following lines
| (following the documentation of the gcc -threads options for HP-UX):
Counter-suggestion: Have GCC make a consistency statement about thread
model specified at configuration time and thread model specified at
link time. If these models are compatible, in the sense that they can
be interchanged, then the whole program behaves as if only one
threading model has been specified. Otherwise, the meaning is
undefined.
Since GCC does not distribute POSIX threads nor Solaris threads, it
should state guarantee about libraries it does not have power on.
Put differently, what the host provides is what you get. If the host
provides a compatible thread library, then you get a compatible
library.
-- Gaby