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

Re: gprof with -lc_p: anyone able to do it?



%% David Z Maze <dmaze@debian.org> writes:

  dzm>   gcc -g -pg -o foo -nodefaultlibs *.o -lc_p -lgcc

Ah, that got me going.

I did this:

  make CFLAGS='-g -pg' LDFLAGS='-g -pg -nodefaultlibs' LIBS='-lc_p -lgcc'

and that worked.

Thanks.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@nortelnetworks.com>   HASMAT--HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.



Reply to: