This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: -pthread in gcc 3.2


It does make it work but is this enough or do we need more in terms of libs and defines as i did came to know that _REENTRANT is also important.


From: "Lev Assinovsky" <LAssinovsky@algorithm.aelita.com>
To: "Lalit Seth" <laalit_seth@hotmail.com>,<gcc-help@gcc.gnu.org>
Subject: RE: -pthread in gcc 3.2
Date: Tue, 30 Mar 2004 12:41:02 +0400

Use -lpthread instead of -pthread

----
Lev Assinovsky
Aelita Software Corporation
O&S InTrust Framework Division, Team Leader
ICQ# 165072909


> -----Original Message----- > From: Lalit Seth [mailto:laalit_seth@hotmail.com] > Sent: Tuesday, March 30, 2004 8:01 AM > To: gcc-help@gcc.gnu.org > Subject: -pthread in gcc 3.2 > > > Hi, > > I have gcc 3.2 installed on HPUX11.11. > but gcc -pthread gves an warning. what may be the cause. as > gcc -v shows > thread model as POSIX. > how can i replace -pthread with appropiate libraries and defines. > > Rgds > Lalit > > _________________________________________________________________ > Apply now for a Citibank Suvidha Account. > http://go.msnserver.com/IN/45532.asp Get a FREE Citibank > Picture=Card=. > >

_________________________________________________________________
Get reliable access on MSN 9 Dial-up. 3 months for the price of 1! (Limited-time offer) http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]