www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/10/19:49:20

Message-ID: <35A6A28F.327@teleline.es>
Date: Sat, 11 Jul 1998 01:23:59 +0200
From: Mariano Alvarez Fernández <malfer AT teleline DOT es>
Reply-To: malfer AT teleline DOT es
Organization: teleline.es
MIME-Version: 1.0
To: Endlisnis <s257m AT unb DOT ca>
CC: djgpp AT delorie DOT com
Subject: Re: About DJGPP v2.02 (Profiling)

Endlisnis wrote:
>On Thu, 9 Jul 1998, John M. Aldrich wrote:
>->Endlisnis wrote:
>->>         I use rhide to compile my code.  Could someone tell me how
>->> to set
>->> rhide to create exe's that make profiling information OR tell me 
>->> the commandline equivalent?
>->RHIDE used to have an option named "Compile for profiling", or >->something
>->similar.  Now, it seems that '-pg' is available as a flag under
>->Options|Compiler|Debugging.  Looking over the flags in this menu, it
>->seems that RHIDE must know which to apply to the linking stage and 
>->which
>->to apply to the compilation stage, and which to both.  So just check
>->that box for '-pg' and it should work.
>->
>->If it does not work, then it's a bug and should be reported (if not
>->already known).
>        Well, that was the first thing I did, and it produced an exe,
>but when it was run, it did not produce any profiling information.  
>Adding "-pg" as a compiling option didn't seem to have any effet on
>the resulting executable.

You must activate too the flag 'link for profiling' in Options|Libraries
and them Build All.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019