help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with G++ on Solaris


From: Paul Pluzhnikov
Subject: Re: Help with G++ on Solaris
Date: Sun, 17 Dec 2006 16:51:21 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

ckkwan@my-deja.com 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]