Can't profile g++ program

Assinovsky, Lev LAssinovsky@algorithm.aelita.com
Tue Dec 16 11:49:00 GMT 2003


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@micron.com [mailto:lrtaylor@micron.com]
> Sent: Monday, December 15, 2003 8:31 PM
> To: Assinovsky, Lev; gcc-help@gcc.gnu.org
> 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@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]On
> Behalf Of Assinovsky, Lev
> Sent: Monday, December 15, 2003 5:53 AM
> To: gcc-help@gcc.gnu.org
> 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:
> 



More information about the Gcc-help mailing list