[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.programming.threads

pthread'ed code

red floyd

8/11/2004 3:14:00 PM

Are there any special command line options I should give to g++ when
compiling code that uses pthreads?
1 Answer

Måns Rullgård

8/11/2004 3:59:00 PM

0

red floyd <no.spam@here.dude> writes:

> Are there any special command line options I should give to g++ when
> compiling code that uses pthreads?

Use -pthread when compiling and linking. It will take care of the
rest.

--
Måns Rullgård
mru@kth.se