g++ -pg -g tst.cpp -o tst -lpthreads ---- Lev Assinovsky Aelita Software Corporation O&S InTrust Framework Division, Team Leader ICQ# 165072909 > -----Original Message----- > From: lrtaylor@xxxxxxxxxx [mailto:lrtaylor@xxxxxxxxxx] > Sent: Monday, December 15, 2003 8:31 PM > To: Assinovsky, Lev; gcc-help@xxxxxxxxxxx > Subject: RE: Can't profile g++ program > > > What was the command line you used to link your program? > > Lyle > > -----Original Message----- > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx]On > Behalf Of Assinovsky, Lev > Sent: Monday, December 15, 2003 5:53 AM > To: gcc-help@xxxxxxxxxxx > Subject: Can't profile g++ program > > > Hello all! > To my surprise I can't use option -pg > when linking with -lpthreads. > Program crashing in libthreads (not in libpthreads) during > initialization: >