This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -pthreads on linux
Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
| >> I take the opportunity to ask why such a discrepency (on solaris, you do
| >> want the 's')?
|
| I am just the situation reporter. It all happened before I was
| involved with gcc (or at least this area).
Loren, I wasn't implying that you were the perpetrator. I was merely
asking for a reason why that situation happened. And I do highly
appreciate your input in this area.
| >> Is there any reason why we don't want a uniform naming for this
| >> option?
|
| It would be great if all ports configured with --enable-threads=posix
| supported the same switch in addition to any classic flag (be it
| -pthreads, -pthread, -threads or -thread). If --enable-threads!=posix
| then use of that switch should report an error instead.
100% agreed.
-- Gaby