This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-pthreads on linux
- To: gcc at gcc dot gnu dot org
- Subject: -pthreads on linux
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 29 Oct 2001 14:38:03 -0800 (PST)
- cc: rittle at latour dot rsch dot comm dot mot dot com
Hey Loren.
Recently, you noted:
> On Linux/i386, -pthread is honored
> with a meaning that matches your impression on the correct way to
> ensure proper thread support.
However, this does not seem to be the case anymore:
%./gcc -v -pthreads
Reading specs from ./../lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
gcc: unrecognized option `-pthreads'
Configured with: /mnt/hd/bliss/src.gcc-3_0-branch/configure --verbose
--prefix=/mnt/hd/ahimsa/H-x86-gcc-3-pthreads --enable-threads=posix
--enable-languages=c,c++
Thread model: posix
gcc version 3.0.3 20011028 (prerelease)
%./gcc -v -pthreads
Reading specs from ./../lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
gcc: unrecognized option `-pthreads'
Configured with: /mnt/hd/bliss/src.gcc/configure --verbose
--prefix=/mnt/hd/ahimsa/H-x86-gcc-pthreads --enable-languages=c,c++
--enable-threads=posix
Thread model: posix
gcc version 3.1 20011029 (experimental)
Any ideas?
-benjamin