------- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-27 01:32 ------- (In reply to comment #4) > As a specific example, using autoconf to attempt to portably determine whether > to use -pthreads (Solaris) or -pthread (Linux, etc) to request reentrant > libraries and thread library linkage, gcc will warn, but otherwise accept, the > wrong flag. That does not matter any more in 4.1.0 and above :). as -pthread is good on Solaris as also on Linux. Also you can look at the output of the compiler instead of depending on the return value :).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15303