This is the mail archive of the
mailing list for the GCC project.
Re: -pthreads on linux
On Tue, Oct 30, 2001 at 07:15:40AM +0100, Gabriel Dos Reis wrote:
> Loren James Rittle <firstname.lastname@example.org> writes:
> | >> On Linux/i386, -pthread is honored
> | > However, this does not seem to be the case anymore:
> | Try it without the `s':
> | ``./gcc -v -pthread'' instead of ``./gcc -v -pthreads''
> I take the opportunity to ask why such a discrepency (on solaris, you do
> want the 's')? Is there any reason why we don't want a uniform naming
> for this option?
I guess it was me who put -pthread there long time ago. I don't
remember the detail. It may be because I didn't have access to
Solaris and/or -pthreads doesn't make much senses on Linux since
we have libpthread.so, not libpthreads.so.