This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-pthreads on linux



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]