[EMAIL PROTECTED] writes:

>> Try this:
>>   g++ -g -pthreads hello.cpp -o hello -lrt
>
>
> Thanks for the quick response. I did tried the pthreads option. It
> seems like g++ doesn't understands this -pthread..... Any other clue?

G++ 2.95 on solaris most certainly understands '-pthreads'.

Note that '-pthreads' is different from '-pthread' (the latter is
used on e.g. Linux).

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to