TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: HERMAN SCHONFELD
from: NICK SHREDERS
date: 1997-04-16 06:34:00
subject: Re: DJGPP optimizations

 NS> Did you compile without the -s ?
 HS> This is what I did :-
 HS> A) Compiled my program WITH -s and -pg and no -romit-blahblahblah. B)
 HS> Ran my newly compiled program. C) gprof tex.exe > report.txt
 Well, -s strips debugging information. Im quite surprised it let you compile 
 with -s AND -pg.
 This is another walkthru of how i did it:
 Entered a source file called a.c and saved it.
 gcc a.c -o a.exe -Wall -O2 -pg
 a.exe (then went thru whatever various path in execution)
 gprof.exe a.exe > a
 q.exe a (qedit - viewed the file `a')
--- Telegard v3.02/mL
---------------
* Origin: Kitchen Sink * Lawrence, KS * 913-749-9480 (1:299/122)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.