On Sun, Feb 03, 2002 at 01:33:42AM -0500, Matt Zimmerman wrote:
It is odd that gcc supports this on some platforms and not on others. On
i386, it appears to merely add -lpthread to the command line. It doesn't
even produce a warning.
This has been a thorn in our (our == gcc maintainers) side
that -pthread is
OK:
checking if compiler recognizes -pthread... yes
Presumably because the compiler only emits a warning, and
exits successfully:
[EMAIL PROTECTED]:~$ gcc -pthread -c hello.c
gcc: unrecognized option `-pthread'
[EMAIL PROTECTED]:~$ echo $?
0
ii gcc-3.03.0.3-1The GNU C
2 matches
Mail list logo